User Tools

Site Tools


solver:getting_a_list_of_the_default_values_for_cplex_option_within_gams

Getting a list of the default values for CPLEX option within GAMS

Use the Cplex option printoptions 1 to get such a list into the lst file. Below is an example.

variables z, x;
equation foo;
foo.. z=e=2*x;
x.up=1;
model m /all/;
m.optfile=1; option lp=cplex;
$onecho>cplex.opt
printoptions 1
$offecho
Solve m using lp maximizing  z;
solver/getting_a_list_of_the_default_values_for_cplex_option_within_gams.txt · Last modified: 2009/09/30 13:39 by support