I have used this for many years in my teaching, for sensitivity analyses for my students. However, now when running ampl, it gives me an error message. Any clue to what’s (not) going on? Especially I am interested in the up, down, and current (dual & slack works without the “sensitivity” option), as mentioned in “the AMPL-book” ch.14.3.
CPLEX 22.1.1: Unknown option or invalid key “sensitivity”
Command/Run-file as:
reset;
option solver cplex;
option cplex_options ‘sensitivity’;
option presolve 0;
model 2.mod;
data 2.dat;
solve;
display z;
display x;
display constr.slack, constr.dual;
display constr.down, constr.current, constr.up;