1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
|
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fit one or more kinetic models with one or more state variables to one or more datasets — mmkin • mkin</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<!-- mathjax -->
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">mkin</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
</li>
<li>
<a href="../news/index.html">News</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/jranke/mkin">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Fit one or more kinetic models with one or more state variables to one or more datasets</h1>
</div>
<p>This function calls <code><a href='mkinfit.html'>mkinfit</a></code> on all combinations of models and datasets
specified in its first two arguments.</p>
<pre><span class='fu'>mmkin</span>(<span class='no'>models</span>, <span class='no'>datasets</span>,
<span class='kw'>cores</span> <span class='kw'>=</span> <span class='fu'>round</span>(<span class='fu'>detectCores</span>()/<span class='fl'>2</span>), <span class='kw'>cluster</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<dl class="dl-horizontal">
<dt>models</dt>
<dd>
Either a character vector of shorthand names ("SFO", "FOMC", "DFOP",
"HS", "SFORB"), or an optionally named list of <code><a href='mkinmod.html'>mkinmod</a></code>
objects.
</dd>
<dt>datasets</dt>
<dd>
An optionally named list of datasets suitable as observed data for
<code><a href='mkinfit.html'>mkinfit</a></code>.
</dd>
<dt>cores</dt>
<dd>
The number of cores to be used for multicore processing. This is only
used when the <code>cluster</code> argument is <code>NULL</code>.
</dd>
<dt>cluster</dt>
<dd>
A cluster as returned by <code>makeCluster</code> to be used for parallel
execution.
</dd>
<dt>&#8230;</dt>
<dd>
Further arguments that will be passed to <code><a href='mkinfit.html'>mkinfit</a></code>.
</dd>
</dl>
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
<p>A matrix of <code><a href='mkinfit.html'>mkinfit</a></code> objects that can be indexed using the model
and dataset names as row and column indices.</p>
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
<p><code><a href='[.mmkin.html'>[.mmkin</a></code> for subsetting, <code><a href='plot.mmkin.html'>plot.mmkin</a></code> for plotting.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'>
<span class='no'>m_synth_SFO_lin</span> <span class='kw'><-</span> <span class='fu'><a href='mkinmod.html'>mkinmod</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"M1"</span>),
<span class='kw'>M1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"M2"</span>),
<span class='kw'>M2</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>), <span class='kw'>use_of_ff</span> <span class='kw'>=</span> <span class='st'>"max"</span>)</div><div class='output co'>#> <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'>
<span class='no'>m_synth_FOMC_lin</span> <span class='kw'><-</span> <span class='fu'><a href='mkinmod.html'>mkinmod</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"FOMC"</span>, <span class='st'>"M1"</span>),
<span class='kw'>M1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"M2"</span>),
<span class='kw'>M2</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>), <span class='kw'>use_of_ff</span> <span class='kw'>=</span> <span class='st'>"max"</span>)</div><div class='output co'>#> <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'>
<span class='no'>models</span> <span class='kw'><-</span> <span class='fu'>list</span>(<span class='kw'>SFO_lin</span> <span class='kw'>=</span> <span class='no'>m_synth_SFO_lin</span>, <span class='kw'>FOMC_lin</span> <span class='kw'>=</span> <span class='no'>m_synth_FOMC_lin</span>)
<span class='no'>datasets</span> <span class='kw'><-</span> <span class='fu'>lapply</span>(<span class='no'>synthetic_data_for_UBA_2014</span>[<span class='fl'>1</span>:<span class='fl'>3</span>], <span class='kw'>function</span>(<span class='no'>x</span>) <span class='no'>x</span>$<span class='no'>data</span>)
<span class='fu'>names</span>(<span class='no'>datasets</span>) <span class='kw'><-</span> <span class='fu'>paste</span>(<span class='st'>"Dataset"</span>, <span class='fl'>1</span>:<span class='fl'>3</span>)
<span class='no'>time_default</span> <span class='kw'><-</span> <span class='fu'>system.time</span>(<span class='no'>fits.0</span> <span class='kw'><-</span> <span class='fu'>mmkin</span>(<span class='no'>models</span>, <span class='no'>datasets</span>))
<span class='no'>time_1</span> <span class='kw'><-</span> <span class='fu'>system.time</span>(<span class='no'>fits.1</span> <span class='kw'><-</span> <span class='fu'>mmkin</span>(<span class='no'>models</span>, <span class='no'>datasets</span>, <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>))</div><div class='output co'>#> Model cost at call 1 : 31054.59
#> Model cost at call 3 : 31054.59
#> Model cost at call 8 : 15089.57
#> Model cost at call 9 : 11464.3
#> Model cost at call 11 : 11464.1
#> Model cost at call 16 : 5723.32
#> Model cost at call 17 : 5723.318
#> Model cost at call 19 : 5723.304
#> Model cost at call 21 : 5723.304
#> Model cost at call 24 : 3968.126
#> Model cost at call 25 : 3968.124
#> Model cost at call 28 : 3968.119
#> Model cost at call 31 : 3416.421
#> Model cost at call 32 : 3416.42
#> Model cost at call 36 : 3416.418
#> Model cost at call 38 : 866.5564
#> Model cost at call 42 : 866.5557
#> Model cost at call 45 : 670.4833
#> Model cost at call 47 : 670.476
#> Model cost at call 53 : 312.9905
#> Model cost at call 57 : 312.9904
#> Model cost at call 58 : 312.9904
#> Model cost at call 61 : 287.8916
#> Model cost at call 63 : 287.8916
#> Model cost at call 66 : 287.8916
#> Model cost at call 69 : 284.5441
#> Model cost at call 71 : 284.5441
#> Model cost at call 73 : 284.5441
#> Model cost at call 76 : 283.4533
#> Model cost at call 78 : 283.4533
#> Model cost at call 83 : 282.1356
#> Model cost at call 85 : 282.1356
#> Model cost at call 88 : 282.1356
#> Model cost at call 90 : 280.7846
#> Model cost at call 92 : 280.7846
#> Model cost at call 95 : 280.7846
#> Model cost at call 97 : 278.4856
#> Model cost at call 98 : 274.5025
#> Model cost at call 99 : 269.2866
#> Model cost at call 101 : 269.2866
#> Model cost at call 102 : 269.2866
#> Model cost at call 103 : 269.2866
#> Model cost at call 106 : 254.1284
#> Model cost at call 108 : 254.1283
#> Model cost at call 109 : 254.1283
#> Model cost at call 112 : 254.128
#> Model cost at call 114 : 233.1376
#> Model cost at call 116 : 233.1376
#> Model cost at call 118 : 233.1375
#> Model cost at call 121 : 227.5879
#> Model cost at call 124 : 227.5879
#> Model cost at call 125 : 227.5878
#> Model cost at call 129 : 217.0041
#> Model cost at call 133 : 217.0041
#> Model cost at call 135 : 217.0041
#> Model cost at call 136 : 215.1367
#> Model cost at call 138 : 215.1367
#> Model cost at call 143 : 213.3794
#> Model cost at call 145 : 213.3794
#> Model cost at call 150 : 211.0201
#> Model cost at call 152 : 211.0201
#> Model cost at call 154 : 211.0201
#> Model cost at call 155 : 211.0201
#> Model cost at call 157 : 210.6426
#> Model cost at call 159 : 210.6426
#> Model cost at call 160 : 210.6425
#> Model cost at call 164 : 207.6331
#> Model cost at call 167 : 207.6331
#> Model cost at call 171 : 206.2366
#> Model cost at call 173 : 206.2366
#> Model cost at call 174 : 206.2366
#> Model cost at call 178 : 204.8117
#> Model cost at call 180 : 204.8117
#> Model cost at call 185 : 204.7988
#> Model cost at call 187 : 204.7988
#> Model cost at call 190 : 204.7988
#> Model cost at call 192 : 203.5122
#> Model cost at call 194 : 203.5122
#> Model cost at call 197 : 203.5122
#> Model cost at call 198 : 203.5122
#> Model cost at call 199 : 203.354
#> Model cost at call 201 : 203.354
#> Model cost at call 204 : 203.354
#> Model cost at call 206 : 202.6825
#> Model cost at call 208 : 202.6825
#> Model cost at call 209 : 202.6825
#> Model cost at call 212 : 202.6825
#> Model cost at call 213 : 202.4582
#> Model cost at call 215 : 202.4582
#> Model cost at call 220 : 202.3261
#> Model cost at call 222 : 202.3261
#> Model cost at call 227 : 202.2306
#> Model cost at call 229 : 202.2306
#> Model cost at call 231 : 202.2306
#> Model cost at call 234 : 202.115
#> Model cost at call 236 : 202.115
#> Model cost at call 238 : 202.115
#> Model cost at call 241 : 202.0397
#> Model cost at call 243 : 202.0397
#> Model cost at call 248 : 201.8989
#> Model cost at call 249 : 201.8551
#> Model cost at call 252 : 201.8551
#> Model cost at call 257 : 201.676
#> Model cost at call 259 : 201.676
#> Model cost at call 264 : 201.6285
#> Model cost at call 266 : 201.6285
#> Model cost at call 270 : 201.6284
#> Model cost at call 271 : 201.5876
#> Model cost at call 272 : 201.5876
#> Model cost at call 278 : 201.5317
#> Model cost at call 279 : 201.5317
#> Model cost at call 286 : 201.5207
#> Model cost at call 287 : 201.5207
#> Model cost at call 289 : 201.5207
#> Model cost at call 293 : 201.5207
#> Model cost at call 294 : 201.5207
#> Model cost at call 296 : 201.5174
#> Model cost at call 301 : 201.5174
#> Model cost at call 304 : 201.5169
#> Model cost at call 305 : 201.5169
#> Model cost at call 306 : 201.5169
#> Model cost at call 309 : 201.5169
#> Model cost at call 312 : 201.5169
#> Model cost at call 314 : 201.5169
#> Model cost at call 322 : 201.5169
#> Model cost at call 325 : 201.5169
#> Model cost at call 340 : 201.5169
#> Optimisation by method Port successfully terminated.
#> Model cost at call 1 : 35974.4
#> Model cost at call 3 : 35974.4
#> Model cost at call 5 : 35974.4
#> Model cost at call 7 : 35974.4
#> Model cost at call 9 : 13270.14
#> Model cost at call 10 : 12432.22
#> Model cost at call 14 : 12432.12
#> Model cost at call 16 : 12431.88
#> Model cost at call 18 : 5356.271
#> Model cost at call 19 : 5356.268
#> Model cost at call 20 : 5356.251
#> Model cost at call 22 : 5356.245
#> Model cost at call 27 : 1507.839
#> Model cost at call 33 : 1507.839
#> Model cost at call 35 : 582.0818
#> Model cost at call 36 : 582.0813
#> Model cost at call 38 : 582.0802
#> Model cost at call 40 : 582.0799
#> Model cost at call 44 : 328.9337
#> Model cost at call 45 : 328.9335
#> Model cost at call 51 : 328.9328
#> Model cost at call 53 : 313.4901
#> Model cost at call 59 : 313.49
#> Model cost at call 60 : 313.4899
#> Model cost at call 61 : 308.6268
#> Model cost at call 63 : 308.6267
#> Model cost at call 69 : 302.4454
#> Model cost at call 73 : 302.4453
#> Model cost at call 77 : 298.0751
#> Model cost at call 79 : 298.075
#> Model cost at call 85 : 293.1404
#> Model cost at call 86 : 289.6645
#> Model cost at call 88 : 289.6645
#> Model cost at call 95 : 288.1617
#> Model cost at call 101 : 288.1616
#> Model cost at call 102 : 288.1615
#> Model cost at call 103 : 286.7649
#> Model cost at call 109 : 286.7649
#> Model cost at call 111 : 284.5224
#> Model cost at call 117 : 284.5224
#> Model cost at call 118 : 284.5224
#> Model cost at call 119 : 281.3466
#> Model cost at call 125 : 281.3466
#> Model cost at call 127 : 274.0924
#> Model cost at call 128 : 264.929
#> Model cost at call 133 : 264.929
#> Model cost at call 136 : 251.3329
#> Model cost at call 137 : 251.3329
#> Model cost at call 140 : 251.3329
#> Model cost at call 141 : 251.3329
#> Model cost at call 146 : 247.7019
#> Model cost at call 147 : 247.7019
#> Model cost at call 149 : 247.7018
#> Model cost at call 154 : 247.3465
#> Model cost at call 158 : 247.3465
#> Model cost at call 160 : 247.3464
#> Model cost at call 162 : 244.622
#> Model cost at call 166 : 244.622
#> Model cost at call 170 : 242.5961
#> Model cost at call 171 : 241.6973
#> Model cost at call 173 : 241.6973
#> Model cost at call 174 : 241.6973
#> Model cost at call 175 : 241.6973
#> Model cost at call 179 : 238.8924
#> Model cost at call 181 : 238.8923
#> Model cost at call 187 : 236.0921
#> Model cost at call 190 : 236.0921
#> Model cost at call 192 : 236.092
#> Model cost at call 195 : 233.9082
#> Model cost at call 197 : 233.9082
#> Model cost at call 201 : 233.9082
#> Model cost at call 202 : 233.9082
#> Model cost at call 203 : 228.1486
#> Model cost at call 205 : 228.1486
#> Model cost at call 206 : 228.1485
#> Model cost at call 207 : 228.1485
#> Model cost at call 211 : 225.0879
#> Model cost at call 214 : 225.0879
#> Model cost at call 216 : 225.0879
#> Model cost at call 218 : 225.0879
#> Model cost at call 219 : 220.9928
#> Model cost at call 221 : 220.9928
#> Model cost at call 227 : 219.1889
#> Model cost at call 229 : 219.1888
#> Model cost at call 233 : 219.1888
#> Model cost at call 235 : 218.6966
#> Model cost at call 238 : 218.6966
#> Model cost at call 239 : 218.6966
#> Model cost at call 240 : 218.6966
#> Model cost at call 241 : 218.6966
#> Model cost at call 242 : 218.6966
#> Model cost at call 243 : 214.4307
#> Model cost at call 247 : 214.4307
#> Model cost at call 251 : 213.6076
#> Model cost at call 253 : 213.6076
#> Model cost at call 254 : 213.6076
#> Model cost at call 256 : 213.6076
#> Model cost at call 259 : 211.0287
#> Model cost at call 262 : 211.0287
#> Model cost at call 263 : 211.0287
#> Model cost at call 267 : 209.6141
#> Model cost at call 270 : 209.6141
#> Model cost at call 271 : 209.6141
#> Model cost at call 276 : 207.896
#> Model cost at call 278 : 207.896
#> Model cost at call 284 : 206.4468
#> Model cost at call 286 : 206.4468
#> Model cost at call 289 : 206.4468
#> Model cost at call 292 : 205.8789
#> Model cost at call 296 : 205.8789
#> Model cost at call 298 : 205.8789
#> Model cost at call 299 : 205.8789
#> Model cost at call 300 : 204.2634
#> Model cost at call 301 : 204.2634
#> Model cost at call 303 : 204.2634
#> Model cost at call 305 : 204.2634
#> Model cost at call 308 : 203.5453
#> Model cost at call 309 : 203.338
#> Model cost at call 310 : 203.338
#> Model cost at call 313 : 203.338
#> Model cost at call 314 : 203.338
#> Model cost at call 316 : 203.338
#> Model cost at call 318 : 202.797
#> Model cost at call 321 : 202.797
#> Model cost at call 326 : 202.4377
#> Model cost at call 327 : 202.4377
#> Model cost at call 334 : 202.0027
#> Model cost at call 335 : 202.0027
#> Model cost at call 342 : 201.8249
#> Model cost at call 344 : 201.8249
#> Model cost at call 349 : 201.8249
#> Model cost at call 351 : 201.7123
#> Model cost at call 352 : 201.7123
#> Model cost at call 359 : 201.6476
#> Model cost at call 361 : 201.6476
#> Model cost at call 365 : 201.6476
#> Model cost at call 368 : 201.5827
#> Model cost at call 371 : 201.5827
#> Model cost at call 378 : 201.5531
#> Model cost at call 379 : 201.5531
#> Model cost at call 386 : 201.5531
#> Model cost at call 390 : 201.537
#> Model cost at call 391 : 201.537
#> Model cost at call 401 : 201.5281
#> Model cost at call 402 : 201.5281
#> Model cost at call 404 : 201.5281
#> Model cost at call 407 : 201.5281
#> Model cost at call 413 : 201.5231
#> Model cost at call 417 : 201.5231
#> Model cost at call 418 : 201.5231
#> Model cost at call 420 : 201.5231
#> Model cost at call 426 : 201.5199
#> Model cost at call 428 : 201.5199
#> Model cost at call 439 : 201.5184
#> Model cost at call 443 : 201.5184
#> Model cost at call 444 : 201.5184
#> Model cost at call 446 : 201.5184
#> Model cost at call 454 : 201.5177
#> Model cost at call 457 : 201.5177
#> Model cost at call 469 : 201.5174
#> Model cost at call 473 : 201.5174
#> Model cost at call 476 : 201.5174
#> Model cost at call 480 : 201.5174
#> Model cost at call 483 : 201.5174
#> Model cost at call 484 : 201.5171
#> Model cost at call 487 : 201.5171
#> Model cost at call 499 : 201.517
#> Model cost at call 506 : 201.517
#> Model cost at call 510 : 201.517
#> Model cost at call 514 : 201.517
#> Model cost at call 522 : 201.517
#> Model cost at call 526 : 201.517
#> Model cost at call 527 : 201.517
#> Model cost at call 529 : 201.5169
#> Model cost at call 536 : 201.5169
#> Model cost at call 540 : 201.5169
#> Model cost at call 544 : 201.5169
#> Model cost at call 556 : 201.5169
#> Model cost at call 557 : 201.5169
#> Model cost at call 559 : 201.5169
#> Model cost at call 574 : 201.5169
#> Model cost at call 575 : 201.5169
#> Model cost at call 578 : 201.5169
#> Model cost at call 582 : 201.5169
#> Model cost at call 586 : 201.5169
#> Model cost at call 589 : 201.5169
#> Model cost at call 590 : 201.5169
#> Model cost at call 601 : 201.5169
#> Model cost at call 604 : 201.5169
#> Model cost at call 617 : 201.5169
#> Model cost at call 632 : 201.5169
#> Model cost at call 647 : 201.5169
#> Model cost at call 662 : 201.5169
#> Model cost at call 680 : 201.5169
#> Optimisation by method Port successfully terminated.
#> Model cost at call 1 : 30689.89
#> Model cost at call 3 : 30689.89
#> Model cost at call 8 : 16294.04
#> Model cost at call 9 : 12699.33
#> Model cost at call 11 : 12699.26
#> Model cost at call 14 : 12699.05
#> Model cost at call 17 : 9202.163
#> Model cost at call 18 : 9202.16
#> Model cost at call 20 : 9202.147
#> Model cost at call 22 : 9202.147
#> Model cost at call 25 : 6601.043
#> Model cost at call 26 : 6601.041
#> Model cost at call 30 : 6601.04
#> Model cost at call 32 : 4223.705
#> Model cost at call 34 : 4223.703
#> Model cost at call 39 : 4223.703
#> Model cost at call 40 : 1443.507
#> Model cost at call 45 : 1443.507
#> Model cost at call 49 : 1191.267
#> Model cost at call 51 : 1191.267
#> Model cost at call 56 : 1186.498
#> Model cost at call 57 : 1186.498
#> Model cost at call 58 : 1186.497
#> Model cost at call 59 : 1186.497
#> Model cost at call 61 : 1186.496
#> Model cost at call 62 : 1186.494
#> Model cost at call 63 : 1130.799
#> Model cost at call 64 : 1130.799
#> Model cost at call 71 : 1126.363
#> Model cost at call 73 : 1126.363
#> Model cost at call 78 : 1122.848
#> Model cost at call 80 : 1122.848
#> Model cost at call 82 : 1122.848
#> Model cost at call 85 : 1120.954
#> Model cost at call 87 : 1120.954
#> Model cost at call 88 : 1120.954
#> Model cost at call 89 : 1120.954
#> Model cost at call 92 : 1117.156
#> Model cost at call 95 : 1117.156
#> Model cost at call 96 : 1117.156
#> Model cost at call 99 : 1116.894
#> Model cost at call 101 : 1116.894
#> Model cost at call 104 : 1116.894
#> Model cost at call 106 : 1113.955
#> Model cost at call 108 : 1113.955
#> Model cost at call 112 : 1113.955
#> Model cost at call 113 : 1113.03
#> Model cost at call 115 : 1113.03
#> Model cost at call 120 : 1111.643
#> Model cost at call 122 : 1111.643
#> Model cost at call 127 : 1109.657
#> Model cost at call 129 : 1109.657
#> Model cost at call 131 : 1109.657
#> Model cost at call 134 : 1106.725
#> Model cost at call 136 : 1106.725
#> Model cost at call 137 : 1106.725
#> Model cost at call 142 : 1106.005
#> Model cost at call 144 : 1106.005
#> Model cost at call 145 : 1106.005
#> Model cost at call 147 : 1106.005
#> Model cost at call 149 : 1105.268
#> Model cost at call 151 : 1105.268
#> Model cost at call 153 : 1105.268
#> Model cost at call 156 : 1104.247
#> Model cost at call 158 : 1104.247
#> Model cost at call 159 : 1104.247
#> Model cost at call 161 : 1104.247
#> Model cost at call 163 : 1103.813
#> Model cost at call 165 : 1103.813
#> Model cost at call 167 : 1103.813
#> Model cost at call 170 : 1103.075
#> Model cost at call 172 : 1103.075
#> Model cost at call 173 : 1103.075
#> Model cost at call 177 : 1102.447
#> Model cost at call 179 : 1102.447
#> Model cost at call 180 : 1102.447
#> Model cost at call 183 : 1102.447
#> Model cost at call 184 : 1102.038
#> Model cost at call 185 : 1101.712
#> Model cost at call 186 : 1101.337
#> Model cost at call 188 : 1101.337
#> Model cost at call 193 : 1100.37
#> Model cost at call 195 : 1100.37
#> Model cost at call 197 : 1100.37
#> Model cost at call 200 : 1099.46
#> Model cost at call 202 : 1099.46
#> Model cost at call 207 : 1099.262
#> Model cost at call 209 : 1099.262
#> Model cost at call 211 : 1099.262
#> Model cost at call 212 : 1099.261
#> Model cost at call 214 : 1099.227
#> Model cost at call 216 : 1099.227
#> Model cost at call 217 : 1099.227
#> Model cost at call 218 : 1099.227
#> Model cost at call 221 : 1098.331
#> Model cost at call 223 : 1098.331
#> Model cost at call 224 : 1098.331
#> Model cost at call 230 : 1098.24
#> Model cost at call 235 : 1098.24
#> Model cost at call 236 : 1098.24
#> Model cost at call 238 : 1098.231
#> Model cost at call 240 : 1098.231
#> Model cost at call 245 : 1098.228
#> Model cost at call 247 : 1098.228
#> Model cost at call 252 : 1098.221
#> Model cost at call 254 : 1098.221
#> Model cost at call 255 : 1098.221
#> Model cost at call 258 : 1098.221
#> Model cost at call 261 : 1098.214
#> Model cost at call 263 : 1098.214
#> Model cost at call 268 : 1098.204
#> Model cost at call 269 : 1098.196
#> Model cost at call 270 : 1098.187
#> Model cost at call 272 : 1098.187
#> Model cost at call 273 : 1098.187
#> Model cost at call 279 : 1098.181
#> Model cost at call 281 : 1098.181
#> Model cost at call 282 : 1098.181
#> Model cost at call 284 : 1098.181
#> Model cost at call 285 : 1098.181
#> Model cost at call 287 : 1098.172
#> Model cost at call 291 : 1098.172
#> Model cost at call 293 : 1098.172
#> Model cost at call 294 : 1098.169
#> Model cost at call 295 : 1098.169
#> Model cost at call 296 : 1098.169
#> Model cost at call 301 : 1098.169
#> Model cost at call 305 : 1098.169
#> Model cost at call 306 : 1098.169
#> Model cost at call 309 : 1098.169
#> Model cost at call 314 : 1098.169
#> Model cost at call 318 : 1098.169
#> Model cost at call 319 : 1098.169
#> Model cost at call 321 : 1098.169
#> Model cost at call 324 : 1098.169
#> Model cost at call 325 : 1098.169
#> Model cost at call 331 : 1098.169
#> Model cost at call 333 : 1098.169
#> Model cost at call 336 : 1098.169
#> Model cost at call 342 : 1098.169
#> Model cost at call 344 : 1098.169
#> Model cost at call 348 : 1098.169
#> Model cost at call 352 : 1098.169
#> Model cost at call 357 : 1098.169
#> Model cost at call 370 : 1098.169
#> Model cost at call 385 : 1098.169
#> Model cost at call 386 : 1098.169
#> Optimisation by method Port successfully terminated.
#> Model cost at call 1 : 34499.23
#> Model cost at call 3 : 34499.23
#> Model cost at call 5 : 34499.23
#> Model cost at call 7 : 34499.23
#> Model cost at call 9 : 14274.95
#> Model cost at call 10 : 14162.89
#> Model cost at call 14 : 14162.68
#> Model cost at call 18 : 13341.49
#> Model cost at call 19 : 13341.48
#> Model cost at call 20 : 13341.47
#> Model cost at call 22 : 13341.44
#> Model cost at call 27 : 10055.95
#> Model cost at call 28 : 10055.95
#> Model cost at call 30 : 10055.95
#> Model cost at call 35 : 7732.384
#> Model cost at call 36 : 7732.381
#> Model cost at call 39 : 7732.381
#> Model cost at call 44 : 6325.124
#> Model cost at call 45 : 6325.122
#> Model cost at call 47 : 6325.117
#> Model cost at call 52 : 3732.612
#> Model cost at call 54 : 3732.611
#> Model cost at call 61 : 1371.768
#> Model cost at call 64 : 1371.768
#> Model cost at call 67 : 1371.768
#> Model cost at call 70 : 1302.633
#> Model cost at call 74 : 1302.633
#> Model cost at call 75 : 1302.633
#> Model cost at call 78 : 1298.854
#> Model cost at call 82 : 1298.854
#> Model cost at call 84 : 1298.854
#> Model cost at call 86 : 1245.775
#> Model cost at call 91 : 1245.775
#> Model cost at call 94 : 1230.679
#> Model cost at call 96 : 1230.679
#> Model cost at call 100 : 1230.679
#> Model cost at call 103 : 1227.471
#> Model cost at call 105 : 1227.471
#> Model cost at call 109 : 1227.471
#> Model cost at call 111 : 1225.318
#> Model cost at call 113 : 1225.318
#> Model cost at call 117 : 1225.318
#> Model cost at call 118 : 1225.318
#> Model cost at call 119 : 1221.478
#> Model cost at call 121 : 1221.478
#> Model cost at call 127 : 1214.191
#> Model cost at call 128 : 1203.986
#> Model cost at call 129 : 1164.433
#> Model cost at call 135 : 1164.433
#> Model cost at call 140 : 1158.843
#> Model cost at call 145 : 1158.843
#> Model cost at call 148 : 1156.585
#> Model cost at call 154 : 1156.585
#> Model cost at call 156 : 1155.177
#> Model cost at call 159 : 1155.177
#> Model cost at call 161 : 1155.176
#> Model cost at call 164 : 1151.603
#> Model cost at call 166 : 1151.603
#> Model cost at call 167 : 1151.603
#> Model cost at call 169 : 1151.603
#> Model cost at call 173 : 1150.467
#> Model cost at call 175 : 1150.467
#> Model cost at call 176 : 1150.467
#> Model cost at call 181 : 1150.117
#> Model cost at call 184 : 1150.117
#> Model cost at call 185 : 1150.117
#> Model cost at call 187 : 1150.117
#> Model cost at call 188 : 1150.117
#> Model cost at call 189 : 1149.03
#> Model cost at call 193 : 1149.03
#> Model cost at call 195 : 1149.03
#> Model cost at call 197 : 1148.468
#> Model cost at call 199 : 1148.468
#> Model cost at call 205 : 1147.297
#> Model cost at call 207 : 1147.297
#> Model cost at call 211 : 1147.297
#> Model cost at call 213 : 1146.841
#> Model cost at call 216 : 1146.841
#> Model cost at call 217 : 1146.841
#> Model cost at call 219 : 1146.841
#> Model cost at call 221 : 1144.548
#> Model cost at call 223 : 1144.548
#> Model cost at call 229 : 1143.258
#> Model cost at call 231 : 1143.258
#> Model cost at call 237 : 1141.772
#> Model cost at call 239 : 1141.772
#> Model cost at call 240 : 1141.772
#> Model cost at call 241 : 1141.772
#> Model cost at call 243 : 1141.772
#> Model cost at call 245 : 1140.849
#> Model cost at call 251 : 1140.849
#> Model cost at call 252 : 1140.849
#> Model cost at call 253 : 1139.456
#> Model cost at call 259 : 1139.456
#> Model cost at call 261 : 1137.678
#> Model cost at call 263 : 1137.678
#> Model cost at call 269 : 1135.358
#> Model cost at call 270 : 1134.128
#> Model cost at call 272 : 1134.128
#> Model cost at call 280 : 1133.342
#> Model cost at call 283 : 1133.342
#> Model cost at call 286 : 1133.342
#> Model cost at call 288 : 1133.229
#> Model cost at call 292 : 1133.229
#> Model cost at call 294 : 1133.229
#> Model cost at call 295 : 1133.229
#> Model cost at call 296 : 1132.641
#> Model cost at call 300 : 1132.641
#> Model cost at call 304 : 1132.126
#> Model cost at call 310 : 1132.126
#> Model cost at call 312 : 1131.169
#> Model cost at call 318 : 1131.169
#> Model cost at call 320 : 1130.405
#> Model cost at call 324 : 1130.405
#> Model cost at call 328 : 1129.635
#> Model cost at call 330 : 1129.635
#> Model cost at call 332 : 1129.635
#> Model cost at call 334 : 1129.635
#> Model cost at call 336 : 1128.526
#> Model cost at call 338 : 1128.526
#> Model cost at call 343 : 1128.526
#> Model cost at call 344 : 1127.498
#> Model cost at call 346 : 1127.498
#> Model cost at call 350 : 1127.498
#> Model cost at call 352 : 1126.06
#> Model cost at call 353 : 1124.911
#> Model cost at call 356 : 1124.911
#> Model cost at call 362 : 1120.309
#> Model cost at call 366 : 1120.309
#> Model cost at call 368 : 1120.308
#> Model cost at call 369 : 1120.308
#> Model cost at call 370 : 1117.687
#> Model cost at call 374 : 1117.687
#> Model cost at call 375 : 1117.687
#> Model cost at call 378 : 1112.013
#> Model cost at call 379 : 1112.013
#> Model cost at call 381 : 1112.013
#> Model cost at call 386 : 1108.648
#> Model cost at call 387 : 1108.251
#> Model cost at call 388 : 1108.251
#> Model cost at call 391 : 1108.251
#> Model cost at call 392 : 1108.251
#> Model cost at call 395 : 1104.73
#> Model cost at call 396 : 1104.73
#> Model cost at call 397 : 1104.73
#> Model cost at call 403 : 1103.277
#> Model cost at call 404 : 1103.277
#> Model cost at call 411 : 1101.351
#> Model cost at call 414 : 1101.351
#> Model cost at call 416 : 1101.351
#> Model cost at call 417 : 1101.351
#> Model cost at call 419 : 1100.36
#> Model cost at call 420 : 1100.36
#> Model cost at call 421 : 1100.36
#> Model cost at call 427 : 1099.596
#> Model cost at call 431 : 1099.596
#> Model cost at call 432 : 1099.596
#> Model cost at call 435 : 1099.029
#> Model cost at call 437 : 1099.029
#> Model cost at call 444 : 1098.722
#> Model cost at call 447 : 1098.722
#> Model cost at call 448 : 1098.722
#> Model cost at call 453 : 1098.441
#> Model cost at call 455 : 1098.441
#> Model cost at call 458 : 1098.441
#> Model cost at call 463 : 1098.314
#> Model cost at call 464 : 1098.314
#> Model cost at call 469 : 1098.314
#> Model cost at call 471 : 1098.314
#> Model cost at call 475 : 1098.245
#> Model cost at call 477 : 1098.245
#> Model cost at call 480 : 1098.245
#> Model cost at call 486 : 1098.209
#> Model cost at call 487 : 1098.209
#> Model cost at call 489 : 1098.209
#> Model cost at call 493 : 1098.209
#> Model cost at call 505 : 1098.209
#> Model cost at call 506 : 1098.209
#> Model cost at call 510 : 1098.209
#> Model cost at call 518 : 1098.209
#> Model cost at call 519 : 1098.209
#> Model cost at call 522 : 1098.209
#> Model cost at call 526 : 1098.209
#> Model cost at call 528 : 1098.209
#> Model cost at call 530 : 1098.209
#> Model cost at call 533 : 1098.209
#> Model cost at call 534 : 1098.209
#> Model cost at call 536 : 1098.209
#> Model cost at call 542 : 1098.209
#> Model cost at call 549 : 1098.207
#> Model cost at call 551 : 1098.207
#> Model cost at call 552 : 1098.207
#> Model cost at call 555 : 1098.207
#> Model cost at call 564 : 1098.205
#> Model cost at call 566 : 1098.205
#> Model cost at call 567 : 1098.205
#> Model cost at call 570 : 1098.205
#> Model cost at call 579 : 1098.2
#> Model cost at call 580 : 1098.191
#> Model cost at call 581 : 1098.191
#> Model cost at call 583 : 1098.191
#> Model cost at call 586 : 1098.191
#> Model cost at call 587 : 1098.191
#> Model cost at call 589 : 1098.191
#> Model cost at call 595 : 1098.186
#> Model cost at call 596 : 1098.186
#> Model cost at call 606 : 1098.18
#> Model cost at call 609 : 1098.18
#> Model cost at call 610 : 1098.18
#> Model cost at call 616 : 1098.177
#> Model cost at call 619 : 1098.177
#> Model cost at call 620 : 1098.177
#> Model cost at call 627 : 1098.173
#> Model cost at call 630 : 1098.173
#> Model cost at call 631 : 1098.173
#> Model cost at call 636 : 1098.173
#> Model cost at call 641 : 1098.172
#> Model cost at call 642 : 1098.172
#> Model cost at call 653 : 1098.172
#> Model cost at call 654 : 1098.172
#> Model cost at call 664 : 1098.172
#> Model cost at call 669 : 1098.172
#> Model cost at call 671 : 1098.172
#> Model cost at call 675 : 1098.172
#> Model cost at call 678 : 1098.172
#> Model cost at call 680 : 1098.172
#> Model cost at call 683 : 1098.172
#> Model cost at call 684 : 1098.172
#> Model cost at call 686 : 1098.172
#> Model cost at call 690 : 1098.172
#> Model cost at call 702 : 1098.172
#> Model cost at call 704 : 1098.172
#> Model cost at call 708 : 1098.172
#> Model cost at call 721 : 1098.172
#> Model cost at call 723 : 1098.172
#> Model cost at call 736 : 1098.172
#> Model cost at call 738 : 1098.172
#> Model cost at call 751 : 1098.172
#> Model cost at call 753 : 1098.172
#> Model cost at call 766 : 1098.172
#> Model cost at call 767 : 1098.172
#> Model cost at call 768 : 1098.172
#> Model cost at call 770 : 1098.172
#> Model cost at call 783 : 1098.172
#> Model cost at call 784 : 1098.172
#> Model cost at call 785 : 1098.172
#> Model cost at call 799 : 1098.172
#> Model cost at call 800 : 1098.172
#> Model cost at call 814 : 1098.172
#> Model cost at call 815 : 1098.172
#> Model cost at call 816 : 1098.172
#> Model cost at call 822 : 1098.172
#> Model cost at call 830 : 1098.172
#> Model cost at call 831 : 1098.172
#> Model cost at call 834 : 1098.172
#> Model cost at call 845 : 1098.172
#> Model cost at call 846 : 1098.172
#> Model cost at call 849 : 1098.172
#> Model cost at call 860 : 1098.171
#> Model cost at call 861 : 1098.171
#> Model cost at call 864 : 1098.171
#> Model cost at call 875 : 1098.171
#> Model cost at call 876 : 1098.171
#> Model cost at call 879 : 1098.171
#> Model cost at call 890 : 1098.17
#> Model cost at call 891 : 1098.17
#> Model cost at call 894 : 1098.17
#> Model cost at call 904 : 1098.169
#> Model cost at call 905 : 1098.169
#> Model cost at call 908 : 1098.169
#> Model cost at call 909 : 1098.169
#> Model cost at call 919 : 1098.169
#> Model cost at call 921 : 1098.169
#> Model cost at call 931 : 1098.169
#> Model cost at call 932 : 1098.169
#> Model cost at call 934 : 1098.169
#> Model cost at call 936 : 1098.169
#> Model cost at call 937 : 1098.169
#> Model cost at call 944 : 1098.169
#> Model cost at call 947 : 1098.169
#> Model cost at call 949 : 1098.169
#> Model cost at call 951 : 1098.169
#> Model cost at call 952 : 1098.169
#> Model cost at call 954 : 1098.169
#> Model cost at call 964 : 1098.169
#> Model cost at call 967 : 1098.169
#> Model cost at call 969 : 1098.169
#> Model cost at call 982 : 1098.169
#> Model cost at call 1017 : 1098.169
#> Model cost at call 1018 : 1098.169
#> Model cost at call 1022 : 1098.169
#> Model cost at call 1029 : 1098.169
#> Model cost at call 1033 : 1098.169
#> Model cost at call 1038 : 1098.169
#> Model cost at call 1048 : 1098.169
#> Model cost at call 1049 : 1098.169
#> Model cost at call 1055 : 1098.169
#> Model cost at call 1063 : 1098.169
#> Model cost at call 1074 : 1098.169
#> Model cost at call 1079 : 1098.169
#> Model cost at call 1089 : 1098.169
#> Model cost at call 1120 : 1098.169
#> Model cost at call 1124 : 1098.169
#> Model cost at call 1139 : 1098.169
#> Model cost at call 1154 : 1098.169
#> Model cost at call 1170 : 1098.169
#> Model cost at call 1185 : 1098.169
#> Model cost at call 1200 : 1098.169
#> Model cost at call 1215 : 1098.169
#> Model cost at call 1231 : 1098.169
#> Model cost at call 1246 : 1098.169
#> Model cost at call 1247 : 1098.169
#> Model cost at call 1248 : 1098.169
#> Model cost at call 1258 : 1098.169
#> Model cost at call 1263 : 1098.169
#> Model cost at call 1278 : 1098.169
#> Model cost at call 1295 : 1098.169
#> Model cost at call 1296 : 1098.169
#> Model cost at call 1297 : 1098.169
#> Model cost at call 1298 : 1098.169
#> Model cost at call 1306 : 1098.169
#> Model cost at call 1308 : 1098.169
#> Optimisation by method Port successfully terminated.
#> Model cost at call 1 : 31389.19
#> Model cost at call 3 : 31389.19
#> Model cost at call 8 : 15003.41
#> Model cost at call 9 : 11136.21
#> Model cost at call 11 : 11135.87
#> Model cost at call 16 : 4800.182
#> Model cost at call 17 : 4800.181
#> Model cost at call 19 : 4800.163
#> Model cost at call 24 : 3036.068
#> Model cost at call 25 : 3036.068
#> Model cost at call 26 : 3036.052
#> Model cost at call 31 : 1361.371
#> Model cost at call 33 : 1361.371
#> Model cost at call 40 : 494.6738
#> Model cost at call 41 : 494.6736
#> Model cost at call 45 : 494.6734
#> Model cost at call 48 : 260.2631
#> Model cost at call 49 : 260.2629
#> Model cost at call 55 : 248.3035
#> Model cost at call 56 : 248.3034
#> Model cost at call 57 : 248.3023
#> Model cost at call 62 : 171.6337
#> Model cost at call 63 : 171.6337
#> Model cost at call 70 : 167.3473
#> Model cost at call 72 : 167.3473
#> Model cost at call 73 : 167.3473
#> Model cost at call 78 : 165.9868
#> Model cost at call 80 : 165.9868
#> Model cost at call 83 : 165.9868
#> Model cost at call 85 : 165.2025
#> Model cost at call 87 : 165.2024
#> Model cost at call 92 : 163.5932
#> Model cost at call 94 : 163.5932
#> Model cost at call 96 : 163.5932
#> Model cost at call 99 : 159.4289
#> Model cost at call 100 : 147.5939
#> Model cost at call 105 : 147.5939
#> Model cost at call 108 : 139.3925
#> Model cost at call 113 : 139.3925
#> Model cost at call 115 : 139.392
#> Model cost at call 116 : 123.9799
#> Model cost at call 117 : 123.9798
#> Model cost at call 118 : 123.9795
#> Model cost at call 124 : 103.8653
#> Model cost at call 125 : 103.8653
#> Model cost at call 126 : 103.8652
#> Model cost at call 131 : 96.14276
#> Model cost at call 134 : 96.14275
#> Model cost at call 135 : 96.14274
#> Model cost at call 139 : 95.96056
#> Model cost at call 141 : 95.96056
#> Model cost at call 142 : 95.96056
#> Model cost at call 145 : 95.96056
#> Model cost at call 146 : 95.90851
#> Model cost at call 148 : 95.9085
#> Model cost at call 153 : 95.84671
#> Model cost at call 155 : 95.8467
#> Model cost at call 161 : 95.82479
#> Model cost at call 163 : 95.82479
#> Model cost at call 166 : 95.82479
#> Model cost at call 168 : 95.81938
#> Model cost at call 170 : 95.81938
#> Model cost at call 174 : 95.81938
#> Model cost at call 175 : 95.81558
#> Model cost at call 177 : 95.81558
#> Model cost at call 178 : 95.81558
#> Model cost at call 180 : 95.81558
#> Model cost at call 181 : 95.81558
#> Model cost at call 183 : 95.81558
#> Model cost at call 184 : 95.8118
#> Model cost at call 186 : 95.8118
#> Model cost at call 188 : 95.8118
#> Model cost at call 191 : 95.80885
#> Model cost at call 192 : 95.80353
#> Model cost at call 193 : 95.78121
#> Model cost at call 194 : 95.72164
#> Model cost at call 197 : 95.72164
#> Model cost at call 201 : 95.72163
#> Model cost at call 206 : 95.71206
#> Model cost at call 208 : 95.71205
#> Model cost at call 213 : 95.70874
#> Model cost at call 215 : 95.70874
#> Model cost at call 219 : 95.70874
#> Model cost at call 221 : 95.70751
#> Model cost at call 222 : 95.70404
#> Model cost at call 223 : 95.69259
#> Model cost at call 224 : 95.68092
#> Model cost at call 226 : 95.68092
#> Model cost at call 227 : 95.68092
#> Model cost at call 233 : 95.67595
#> Model cost at call 235 : 95.67595
#> Model cost at call 236 : 95.67595
#> Model cost at call 242 : 95.67219
#> Model cost at call 244 : 95.67219
#> Model cost at call 245 : 95.67219
#> Model cost at call 249 : 95.66939
#> Model cost at call 251 : 95.66939
#> Model cost at call 253 : 95.66939
#> Model cost at call 254 : 95.66939
#> Model cost at call 256 : 95.66904
#> Model cost at call 257 : 95.66904
#> Model cost at call 260 : 95.66904
#> Model cost at call 265 : 95.66857
#> Model cost at call 267 : 95.66856
#> Model cost at call 273 : 95.66822
#> Model cost at call 275 : 95.66822
#> Model cost at call 276 : 95.66822
#> Model cost at call 282 : 95.66809
#> Model cost at call 283 : 95.66809
#> Model cost at call 291 : 95.66805
#> Model cost at call 293 : 95.66805
#> Model cost at call 295 : 95.66805
#> Model cost at call 297 : 95.66805
#> Model cost at call 298 : 95.66805
#> Model cost at call 302 : 95.66805
#> Model cost at call 304 : 95.66805
#> Model cost at call 306 : 95.66805
#> Model cost at call 309 : 95.66805
#> Model cost at call 314 : 95.66805
#> Model cost at call 315 : 95.66805
#> Model cost at call 328 : 95.66805
#> Optimisation by method Port successfully terminated.
#> Model cost at call 1 : 36597.78
#> Model cost at call 3 : 36597.78
#> Model cost at call 5 : 36597.78
#> Model cost at call 7 : 36597.78
#> Model cost at call 9 : 13188.26
#> Model cost at call 10 : 12648.25
#> Model cost at call 14 : 12648.13
#> Model cost at call 16 : 12647.92
#> Model cost at call 18 : 6148.715
#> Model cost at call 19 : 6148.712
#> Model cost at call 20 : 6148.695
#> Model cost at call 22 : 6148.683
#> Model cost at call 27 : 1490.597
#> Model cost at call 33 : 1490.597
#> Model cost at call 35 : 594.2031
#> Model cost at call 36 : 594.2023
#> Model cost at call 38 : 594.201
#> Model cost at call 40 : 594.2009
#> Model cost at call 44 : 230.6504
#> Model cost at call 45 : 230.6503
#> Model cost at call 48 : 230.6503
#> Model cost at call 50 : 230.6495
#> Model cost at call 51 : 230.6494
#> Model cost at call 53 : 186.2336
#> Model cost at call 57 : 186.2336
#> Model cost at call 59 : 186.2336
#> Model cost at call 60 : 186.2336
#> Model cost at call 62 : 181.3507
#> Model cost at call 66 : 181.3507
#> Model cost at call 70 : 180.733
#> Model cost at call 74 : 180.733
#> Model cost at call 76 : 180.7329
#> Model cost at call 77 : 180.7329
#> Model cost at call 78 : 175.5254
#> Model cost at call 80 : 175.5253
#> Model cost at call 86 : 173.1139
#> Model cost at call 88 : 173.1139
#> Model cost at call 94 : 168.0503
#> Model cost at call 96 : 168.0502
#> Model cost at call 102 : 164.9084
#> Model cost at call 104 : 164.9084
#> Model cost at call 105 : 164.9084
#> Model cost at call 110 : 159.7912
#> Model cost at call 112 : 159.7912
#> Model cost at call 113 : 159.7912
#> Model cost at call 116 : 159.7911
#> Model cost at call 117 : 159.7911
#> Model cost at call 118 : 158.6003
#> Model cost at call 122 : 158.6002
#> Model cost at call 124 : 158.6002
#> Model cost at call 126 : 150.4132
#> Model cost at call 132 : 150.4132
#> Model cost at call 133 : 150.4132
#> Model cost at call 134 : 146.5123
#> Model cost at call 140 : 146.5122
#> Model cost at call 142 : 136.6018
#> Model cost at call 145 : 136.6018
#> Model cost at call 149 : 136.6018
#> Model cost at call 150 : 133.91
#> Model cost at call 153 : 133.91
#> Model cost at call 155 : 133.91
#> Model cost at call 156 : 133.91
#> Model cost at call 158 : 124.7878
#> Model cost at call 162 : 124.7878
#> Model cost at call 163 : 124.7878
#> Model cost at call 167 : 124.2615
#> Model cost at call 169 : 124.2614
#> Model cost at call 170 : 124.2614
#> Model cost at call 175 : 123.2425
#> Model cost at call 179 : 123.2425
#> Model cost at call 180 : 123.2425
#> Model cost at call 181 : 123.2425
#> Model cost at call 182 : 123.2425
#> Model cost at call 183 : 120.7214
#> Model cost at call 185 : 120.7214
#> Model cost at call 191 : 119.2706
#> Model cost at call 192 : 117.872
#> Model cost at call 193 : 114.6257
#> Model cost at call 198 : 114.6257
#> Model cost at call 201 : 111.8985
#> Model cost at call 203 : 111.8985
#> Model cost at call 206 : 111.8984
#> Model cost at call 209 : 111.6987
#> Model cost at call 212 : 111.6987
#> Model cost at call 213 : 111.6986
#> Model cost at call 217 : 107.9995
#> Model cost at call 219 : 107.9995
#> Model cost at call 225 : 106.1322
#> Model cost at call 226 : 104.6907
#> Model cost at call 227 : 104.6316
#> Model cost at call 229 : 104.6316
#> Model cost at call 232 : 104.6315
#> Model cost at call 239 : 103.3421
#> Model cost at call 245 : 103.3421
#> Model cost at call 246 : 103.3421
#> Model cost at call 247 : 103.1772
#> Model cost at call 248 : 103.1772
#> Model cost at call 249 : 103.1772
#> Model cost at call 250 : 103.1772
#> Model cost at call 253 : 103.1772
#> Model cost at call 255 : 102.8623
#> Model cost at call 256 : 102.8623
#> Model cost at call 262 : 102.8623
#> Model cost at call 263 : 102.6013
#> Model cost at call 266 : 102.6013
#> Model cost at call 271 : 102.0341
#> Model cost at call 272 : 101.25
#> Model cost at call 273 : 99.17557
#> Model cost at call 274 : 99.17556
#> Model cost at call 282 : 99.06481
#> Model cost at call 284 : 99.06479
#> Model cost at call 290 : 98.57515
#> Model cost at call 294 : 98.57514
#> Model cost at call 296 : 98.57514
#> Model cost at call 298 : 98.05781
#> Model cost at call 304 : 98.05781
#> Model cost at call 305 : 98.05781
#> Model cost at call 306 : 97.81766
#> Model cost at call 307 : 97.63972
#> Model cost at call 308 : 97.63971
#> Model cost at call 315 : 97.15447
#> Model cost at call 317 : 97.15447
#> Model cost at call 321 : 97.15446
#> Model cost at call 323 : 96.25231
#> Model cost at call 324 : 96.25231
#> Model cost at call 328 : 96.25231
#> Model cost at call 331 : 95.48051
#> Model cost at call 334 : 95.4805
#> Model cost at call 339 : 95.08754
#> Model cost at call 341 : 95.08754
#> Model cost at call 347 : 94.9916
#> Model cost at call 348 : 94.9916
#> Model cost at call 350 : 94.9916
#> Model cost at call 355 : 94.93856
#> Model cost at call 356 : 94.93856
#> Model cost at call 357 : 94.93856
#> Model cost at call 363 : 94.92067
#> Model cost at call 366 : 94.92067
#> Model cost at call 367 : 94.92067
#> Model cost at call 369 : 94.92067
#> Model cost at call 370 : 94.92067
#> Model cost at call 371 : 94.91762
#> Model cost at call 372 : 94.91762
#> Model cost at call 373 : 94.91762
#> Model cost at call 379 : 94.91744
#> Model cost at call 380 : 94.91744
#> Model cost at call 385 : 94.91744
#> Model cost at call 387 : 94.91744
#> Model cost at call 393 : 94.91743
#> Model cost at call 394 : 94.91743
#> Model cost at call 404 : 94.91743
#> Model cost at call 407 : 94.91743
#> Model cost at call 408 : 94.91743
#> Model cost at call 423 : 94.91743
#> Model cost at call 442 : 94.91743
#> Model cost at call 446 : 94.91743
#> Model cost at call 447 : 94.91743
#> Optimisation by method Port successfully terminated.</div><div class='input'>
<span class='no'>time_default</span></div><div class='output co'>#> user system elapsed
#> 16.180 0.132 9.130 </div><div class='input'><span class='no'>time_1</span></div><div class='output co'>#> user system elapsed
#> 22.856 0.000 22.858 </div><div class='input'>
<span class='fu'><a href='endpoints.html'>endpoints</a></span>(<span class='no'>fits</span><span class='kw'>[[</span><span class='st'>"SFO_lin"</span>, <span class='fl'>2</span>]])</div><div class='output co'>#> <span class='error'>Error in endpoints(fits[["SFO_lin", 2]]): Objekt 'fits' nicht gefunden</span></div><div class='input'>
<span class='co'># Plot.mkinfit handles rows or columns of mmkin result objects</span>
<span class='fu'>plot</span>(<span class='no'>fits.0</span>[<span class='fl'>1</span>, ])</div><img src='mmkin-14.png' alt='' width='540' height='400' /><div class='input'><span class='fu'>plot</span>(<span class='no'>fits.0</span>[<span class='fl'>1</span>, ], <span class='kw'>obs_var</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='st'>"M1"</span>, <span class='st'>"M2"</span>))</div><img src='mmkin-16.png' alt='' width='540' height='400' /><div class='input'><span class='fu'>plot</span>(<span class='no'>fits.0</span>[, <span class='fl'>1</span>])</div><img src='mmkin-18.png' alt='' width='540' height='400' /><div class='input'><span class='co'># Use double brackets to extract a single mkinfit object, which will be plotted</span>
<span class='co'># by plot.mkinfit</span>
<span class='fu'>plot</span>(<span class='no'>fits.0</span><span class='kw'>[[</span><span class='fl'>1</span>, <span class='fl'>1</span>]], <span class='kw'>sep_obs</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>show_residuals</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>show_errmin</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)</div><img src='mmkin-20.png' alt='' width='540' height='400' /><div class='input'><span class='co'># Plotting with mmkin (single brackets, extracting an mmkin object) does not</span>
<span class='co'># allow to plot the observed variables separately</span>
<span class='fu'>plot</span>(<span class='no'>fits.0</span>[<span class='fl'>1</span>, <span class='fl'>1</span>])</div><img src='mmkin-22.png' alt='' width='540' height='400' /><div class='input'>
</div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
<li><a href="#value">Value</a></li>
<li><a href="#see-also">See also</a></li>
<li><a href="#examples">Examples</a></li>
</ul>
<h2>Author</h2>
Johannes Ranke
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Johannes Ranke.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
</div>
</footer>
</div>
</body>
</html>
|