KaneTW / FFXIVBisSolver

FFXIV Materia-aware BiS solver
MIT License
13 stars 5 forks source link

The -R option is not being obeyed #35

Closed DarkPatch closed 7 years ago

DarkPatch commented 7 years ago

The -R Option is not being obeyed for equipment or food.

KaneTW commented 7 years ago

Can you provide the command and version you used?

DarkPatch commented 7 years ago

FFXIVBISSolverCLI SMN -p "C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn" -R 6040 (Just a proof of concept )
I also tried with 12856 which should be Baked Pipira.

It looks like I was using 1.0 3/14/2017, and that would run with the -R option. I just downloaded the 1.1 beta 2 (exe show 1.0 vers 3/23/2017) If I use -R or --require it simply crashes wit h. If I drop the -R parameter is does run.

KaneTW commented 7 years ago

I'll look at it tomorrow, thanks. It worked for me when I tested it, but some change might have broken it.

A bit busy with my thesis, so I might not push a new release until after March ends.

KaneTW commented 7 years ago

Ok I tried it with my local version and it works. It'll be fixed when I push a new release, then.

        Main Hand: Grimoire Wing
DarkPatch commented 7 years ago

Am I missing a settings? Should I be receiving this warning about GLPK? I have tried compiling up to the latest commit and still don't get the same results.

` F:\FFXIVBisSolverCLI>FFXIVBISSolverCLI SMN -p "C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn" -R 6040

WARNING: GLPKSolver does not support the usage of Variable.BranchingPriority, but for (at least) one of the Variables a BranchingPriority-value is set. These values will be ignored.
GLPK Simplex Optimizer, v4.61
1784 rows, 2188 columns, 6363 non-zeros
      0: obj =  -0.000000000e+00 inf =   2.007e+03 (14)
    223: obj =   5.920000000e-03 inf =   0.000e+00 (0)
*   500: obj =   3.021712709e+03 inf =   0.000e+00 (88) 1
*   970: obj =   3.470349520e+03 inf =   0.000e+00 (0) 2
OPTIMAL LP SOLUTION FOUND
GLPK Integer Optimizer, v4.61
1784 rows, 2188 columns, 6363 non-zeros
1832 integer variables, 1074 of which are binary
Integer optimization begins...
+   970: mip =     not found yet <=              +inf        (1; 0)
+   996: >>>>>   3.464686080e+03 <=   3.469714820e+03   0.1% (5; 0)
+  2541: >>>>>   3.464857840e+03 <=   3.467002840e+03 < 0.1% (219; 9)
+ 13012: mip =   3.464857840e+03 <=   3.466971790e+03 < 0.1% (946; 63)
+ 26018: mip =   3.464857840e+03 <=   3.466964820e+03 < 0.1% (1548; 125)
+ 41919: mip =   3.464857840e+03 <=   3.466957509e+03 < 0.1% (2062; 181)
+ 55237: mip =   3.464857840e+03 <=   3.466950837e+03 < 0.1% (2684; 244)
+ 68610: mip =   3.464857840e+03 <=   3.466944700e+03 < 0.1% (3303; 314)
+ 82484: mip =   3.464857840e+03 <=   3.466938797e+03 < 0.1% (3895; 384)
+ 95962: mip =   3.464857840e+03 <=   3.466935672e+03 < 0.1% (4525; 459)
+108803: mip =   3.464857840e+03 <=   3.466932660e+03 < 0.1% (5128; 541)
+122121: mip =   3.464857840e+03 <=   3.466929555e+03 < 0.1% (5715; 615)
+138555: mip =   3.464857840e+03 <=   3.466926389e+03 < 0.1% (6199; 673)
+155512: mip =   3.464857840e+03 <=   3.466923708e+03 < 0.1% (6692; 727)
Time used: 60.0 secs.  Memory used: 21.9 Mb.
+169477: mip =   3.464857840e+03 <=   3.466920810e+03 < 0.1% (7212; 781)
+181654: mip =   3.464857840e+03 <=   3.466918690e+03 < 0.1% (7796; 837)
+194048: mip =   3.464857840e+03 <=   3.466916850e+03 < 0.1% (8337; 902)
+207874: mip =   3.464857840e+03 <=   3.466914790e+03 < 0.1% (8881; 959)
+222154: mip =   3.464857840e+03 <=   3.466912510e+03 < 0.1% (9446; 1022)
+235531: mip =   3.464857840e+03 <=   3.466910850e+03 < 0.1% (10073; 1105)
+249966: mip =   3.464857840e+03 <=   3.466909029e+03 < 0.1% (10619; 1172)
+264429: mip =   3.464857840e+03 <=   3.466907128e+03 < 0.1% (11189; 1243)
+279523: mip =   3.464857840e+03 <=   3.466905319e+03 < 0.1% (11701; 1316)
+293357: mip =   3.464857840e+03 <=   3.466903158e+03 < 0.1% (12281; 1389)
+308165: mip =   3.464857840e+03 <=   3.466901990e+03 < 0.1% (12806; 1450)
+321419: mip =   3.464857840e+03 <=   3.466900630e+03 < 0.1% (13324; 1522)
Time used: 120.0 secs.  Memory used: 41.1 Mb.
+333587: mip =   3.464857840e+03 <=   3.466899667e+03 < 0.1% (13827; 1580)
+345592: mip =   3.464857840e+03 <=   3.466897840e+03 < 0.1% (14283; 1651)
+359315: mip =   3.464857840e+03 <=   3.466896671e+03 < 0.1% (14787; 1722)
+370725: mip =   3.464857840e+03 <=   3.466895094e+03 < 0.1% (15370; 1789)
+383438: mip =   3.464857840e+03 <=   3.466893720e+03 < 0.1% (15929; 1854)
+396678: mip =   3.464857840e+03 <=   3.466892360e+03 < 0.1% (16417; 1915)
+411039: mip =   3.464857840e+03 <=   3.466890969e+03 < 0.1% (16915; 1967)
+426136: mip =   3.464857840e+03 <=   3.466889540e+03 < 0.1% (17355; 2027)
+439629: mip =   3.464857840e+03 <=   3.466888210e+03 < 0.1% (17863; 2083)
+453795: mip =   3.464857840e+03 <=   3.466886790e+03 < 0.1% (18347; 2138)
+467551: mip =   3.464857840e+03 <=   3.466885390e+03 < 0.1% (18773; 2196)
+480329: mip =   3.464857840e+03 <=   3.466884470e+03 < 0.1% (19273; 2258)
Time used: 180.0 secs.  Memory used: 58.4 Mb.
+493502: mip =   3.464857840e+03 <=   3.466883048e+03 < 0.1% (19768; 2310)
+506780: mip =   3.464857840e+03 <=   3.466881939e+03 < 0.1% (20239; 2377)
+519180: mip =   3.464857840e+03 <=   3.466880640e+03 < 0.1% (20729; 2443)
+533439: mip =   3.464857840e+03 <=   3.466879560e+03 < 0.1% (21168; 2501)
+546043: mip =   3.464857840e+03 <=   3.466878837e+03 < 0.1% (21665; 2562)
+559631: mip =   3.464857840e+03 <=   3.466877630e+03 < 0.1% (22148; 2624)
+574639: mip =   3.464857840e+03 <=   3.466876581e+03 < 0.1% (22597; 2675)
+588037: mip =   3.464857840e+03 <=   3.466875827e+03 < 0.1% (23110; 2737)
+602465: mip =   3.464857840e+03 <=   3.466874730e+03 < 0.1% (23565; 2810)
+616540: mip =   3.464857840e+03 <=   3.466873776e+03 < 0.1% (24051; 2869)
+630197: mip =   3.464857840e+03 <=   3.466873052e+03 < 0.1% (24546; 2931)
+644223: mip =   3.464857840e+03 <=   3.466872246e+03 < 0.1% (25038; 3002)
Time used: 240.0 secs.  Memory used: 75.9 Mb.
+658287: mip =   3.464857840e+03 <=   3.466871376e+03 < 0.1% (25545; 3067)
+671074: mip =   3.464857840e+03 <=   3.466870416e+03 < 0.1% (25989; 3121)
+683981: mip =   3.464857840e+03 <=   3.466869807e+03 < 0.1% (26444; 3178)
+697883: mip =   3.464857840e+03 <=   3.466868878e+03 < 0.1% (26880; 3242)
+709691: mip =   3.464857840e+03 <=   3.466867788e+03 < 0.1% (27370; 3309)
+722226: mip =   3.464857840e+03 <=   3.466867166e+03 < 0.1% (27850; 3369)
+735290: mip =   3.464857840e+03 <=   3.466866557e+03 < 0.1% (28280; 3431)
+747602: mip =   3.464857840e+03 <=   3.466865597e+03 < 0.1% (28738; 3492)
+761031: mip =   3.464857840e+03 <=   3.466864636e+03 < 0.1% (29151; 3556)
+773134: mip =   3.464857840e+03 <=   3.466864119e+03 < 0.1% (29598; 3613)
+784985: mip =   3.464857840e+03 <=   3.466863284e+03 < 0.1% (30041; 3679)
+799062: mip =   3.464857840e+03 <=   3.466862459e+03 < 0.1% (30428; 3737)
Time used: 300.0 secs.  Memory used: 91.4 Mb.
+810605: mip =   3.464857840e+03 <=   3.466861559e+03 < 0.1% (30854; 3797)
+822159: mip =   3.464857840e+03 <=   3.466860905e+03 < 0.1% (31322; 3861)
+833910: mip =   3.464857840e+03 <=   3.466860380e+03 < 0.1% (31804; 3920)
+845578: mip =   3.464857840e+03 <=   3.466859850e+03 < 0.1% (32291; 4013)
+857940: mip =   3.464857840e+03 <=   3.466859110e+03 < 0.1% (32752; 4074)
+870591: mip =   3.464857840e+03 <=   3.466858248e+03 < 0.1% (33224; 4143)
+882324: mip =   3.464857840e+03 <=   3.466857570e+03 < 0.1% (33691; 4203)
+894973: mip =   3.464857840e+03 <=   3.466856695e+03 < 0.1% (34128; 4269)
+907675: mip =   3.464857840e+03 <=   3.466855682e+03 < 0.1% (34531; 4334)
+921485: mip =   3.464857840e+03 <=   3.466855126e+03 < 0.1% (34985; 4386)
+934046: mip =   3.464857840e+03 <=   3.466854531e+03 < 0.1% (35465; 4449)
+947597: mip =   3.464857840e+03 <=   3.466853640e+03 < 0.1% (35921; 4515)
Time used: 360.0 secs.  Memory used: 107.8 Mb.
+959400: mip =   3.464857840e+03 <=   3.466852738e+03 < 0.1% (36381; 4569)
+973492: mip =   3.464857840e+03 <=   3.466852244e+03 < 0.1% (36786; 4622)
+986601: mip =   3.464857840e+03 <=   3.466851747e+03 < 0.1% (37226; 4674)
+1000526: mip =   3.464857840e+03 <=   3.466851119e+03 < 0.1% (37660; 4743)
+1013120: mip =   3.464857840e+03 <=   3.466850306e+03 < 0.1% (38098; 4808)
+1026082: mip =   3.464857840e+03 <=   3.466849323e+03 < 0.1% (38520; 4879)
+1039262: mip =   3.464857840e+03 <=   3.466848829e+03 < 0.1% (38961; 4950)
+1052547: mip =   3.464857840e+03 <=   3.466848145e+03 < 0.1% (39377; 5009)
+1065795: mip =   3.464857840e+03 <=   3.466847476e+03 < 0.1% (39833; 5070)
+1077962: mip =   3.464857840e+03 <=   3.466846473e+03 < 0.1% (40268; 5143)
+1091050: mip =   3.464857840e+03 <=   3.466846040e+03 < 0.1% (40735; 5209)
+1102653: mip =   3.464857840e+03 <=   3.466845339e+03 < 0.1% (41135; 5275)
+1102855: >>>>>   3.466347260e+03 <=   3.466845327e+03 < 0.1% (41164; 5276)
Time used: 420.0 secs.  Memory used: 123.3 Mb.
+1114153: mip =   3.466347260e+03 <=   3.466844407e+03 < 0.1% (22704; 34125)
+1123689: >>>>>   3.466807830e+03 <=   3.466843582e+03 < 0.1% (22902; 34194)
+1134885: mip =   3.466807830e+03 <=   3.466841978e+03 < 0.1% (1735; 78991)
+1147494: mip =   3.466807830e+03 <=   3.466840020e+03 < 0.1% (1671; 79605)
+1159477: mip =   3.466807830e+03 <=   3.466837884e+03 < 0.1% (1588; 80281)
+1172495: mip =   3.466807830e+03 <=   3.466835960e+03 < 0.1% (1531; 80896)
+1185284: mip =   3.466807830e+03 <=   3.466833900e+03 < 0.1% (1464; 81592)
+1198322: mip =   3.466807830e+03 <=   3.466831414e+03 < 0.1% (1362; 82513)
+1211394: mip =   3.466807830e+03 <=   3.466829510e+03 < 0.1% (1289; 83267)
+1226215: mip =   3.466807830e+03 <=   3.466827060e+03 < 0.1% (1182; 84178)
+1240888: mip =   3.466807830e+03 <=   3.466824749e+03 < 0.1% (1066; 85143)
+1257160: mip =   3.466807830e+03 <=   3.466822050e+03 < 0.1% (906; 86283)
Time used: 480.0 secs.  Memory used: 123.3 Mb.
+1272392: mip =   3.466807830e+03 <=   3.466819360e+03 < 0.1% (755; 87561)
+1288110: mip =   3.466807830e+03 <=   3.466816696e+03 < 0.1% (608; 88952)
+1305095: mip =   3.466807830e+03 <=   3.466813843e+03 < 0.1% (448; 90600)
+1321607: mip =   3.466807830e+03 <=   3.466811060e+03 < 0.1% (292; 92406)
+1335026: mip =   3.466807830e+03 <=     tree is empty   0.0% (0; 99509)
INTEGER OPTIMAL SOLUTION FOUND
Gear:
        Main Hand: Mimesis Lux
        Head: Alexandrian Hood of Casting
        Body: Augmented Shire Philosopher's Coat
`