ampl / mp

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

Single-word options missing from CPLEX MP driver #242

Open 4er4er4er opened 2 months ago

4er4er4er commented 2 months ago

A number of the single-word CPLEX options that worked with ASL are not recognized by MP. For example, 'sensitivity' works here,

ampl: model diet.mod;
ampl: data diet.dat;
ampl: option solver cplexasl;
ampl: option cplex_options 'sensitivity';
ampl: solve;
CPLEX 22.1.1.0: sensitivity
CPLEX 22.1.1.0: optimal solution; objective 88.2
1 dual simplex iterations (0 in phase I)

suffix up OUT;
suffix down OUT;
suffix current OUT;
ampl: 

but not here:

ampl: model diet.mod;
ampl: data diet.dat;
ampl: option solver cplex;
ampl: option cplex_options 'sensitivity';
ampl: solve;
CPLEX 22.1.1: Unknown option or invalid key "sensitivity"
ampl: 
jurgen-lentz commented 1 month ago

relobjdiff doesn't exist either in CPLEX MP.