ampl / mp

An open-source library for mathematical programming
https://mp.ampl.com
Other
229 stars 42 forks source link

ssdsolver is broken #106

Closed vitaut closed 8 years ago

vitaut commented 8 years ago

Experimental ssdsolver was not fully updated when migrating to the new solver infrastructure. It fails to solve the test problem:

> ampl ssd-portfolio.ampl 
ssdsolver: scaled=1
abs_tolerance=1e-7

Itn          Gap
  1          inf
Tried aggregator 1 time.
LP Presolve eliminated 2 rows and 77 columns.
All rows and columns eliminated.
Presolve time = 0.00 sec. (0.02 ticks)
  2        6.315
Tried aggregator 1 time.
LP Presolve eliminated 3 rows and 77 columns.
All rows and columns eliminated.
Presolve time = 0.00 sec. (0.02 ticks)
  3            0
Absolute tolerance reached.
ssdsolver: optimal solution; dominance -2.494
3 iteration(s)
invest[a] [*] :=
2  1
;
vitaut commented 8 years ago

Fixed in https://github.com/ampl/mp/commit/e93d1477c28a8f3a4144fbc831701625bc26b11b.