ampl / mp

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

x-gurobi option values are corrupted #160

Closed 4er4er4er closed 2 years ago

4er4er4er commented 2 years ago

Using the Windows version of x-gurobi, values specified in a gurobi_options string are corrupted:

ampl: model diet.mod;
ampl: data diet.dat;
ampl: option solver x-gurobi;
ampl: option gurobi_options 'mip:gap=1e-5 tech:outlev=1';
ampl: solve;
Gurobi 9.5.0: Set parameter Username
mip:gap=6.95124e-310
tech:outlev=-1959284560
Gurobi 9.5.0: optimal solution; objective 88.2
1 simplex iterations
ampl: 

No solver log appears, confirming that the setting tech:outlev=1 is not being transmitted correctly to Gurobi.