Table of the commands of the Interactive Optimizer
These commands of the Interactive Optimizer also link to samples or further documentation.
| Command | Option 1 | Option 2 | Example |
|---|---|---|---|
add
|
Adding constraints and bounds in Getting Started | ||
baropt
|
Using alternative optimizers in Getting Started | ||
baropt
|
dualopt |
||
baropt
|
primopt |
||
baropt
|
stop
|
||
change
|
bounds |
Changing bounds in Getting Started | |
change
|
coefficient |
Changing coefficients of variables in Getting Started | |
change
|
delete |
Deleting entire constraints or variables in Getting Started | |
change
|
delete |
constraints
|
|
change
|
delete |
qconstraints
|
|
change |
delete |
filters |
|
change
|
delete
|
indconstraints |
|
change |
delete |
mipstarts |
MIP starts and the Interactive Optimizer in User's Manual |
change |
delete |
solutions |
|
change
|
delete
|
sos |
|
change
|
delete
|
variables |
|
change
|
delete
|
equality |
|
change
|
delete
|
greater-than |
|
change
|
delete
|
less-than |
|
change
|
name
|
Changing constraint or variable names in Getting Started | |
change
|
objective
|
Objective and RHS coefficients in Getting Started | |
change
|
problem
|
type |
Diagnosing QP infeasibility in User’s Manual |
change
|
problem
|
fixed
i |
Accessing a solution in the solution pool in User’s Manual |
change
|
qpterm
|
Changing quadratic terms in User’s Manual | |
change
|
rhs
|
Objective and RHS coefficients in Getting Started | |
change
|
sense
|
Changing sense in Getting Started | |
change
|
type
|
Changing variable type in User’s Manual | |
change
|
values
|
Changing small values to zero in Getting Started | |
display |
auxilliary |
filters |
displays names of filters associated with solution pool; index starts at 1 (one) |
display |
auxilliary |
mipstarts |
displays names of MIP starts; index starts at 1 (one) |
display |
auxilliary |
summary |
displays information about filters, MIP starts, priorities, bases |
display
|
conflict
|
all |
Displaying a conflict in the Interactive Optimizer in User’s Manual |
display
|
conflict
|
constraints |
Displaying a conflict in the Interactive Optimizer in User’s Manual |
display
|
conflict
|
indicators |
|
display
|
conflict
|
qconstraints |
|
display
|
conflict
|
sos |
|
display
|
conflict
|
variables |
Displaying a conflict in the Interactive Optimizer in User’s Manual |
display
|
problem
|
all |
Displaying a problem in Getting Started |
display
|
problem
|
binaries |
Table 1 in User’s Manual |
display
|
problem
|
bounds |
Displaying bounds in Getting Started |
display
|
problem
|
constraints |
Displaying constraints in Getting Started |
display
|
problem
|
generals |
Table 1 in User’s Manual |
display
|
problem
|
histogram |
Detecting and eliminating dense columns in User’s Manual or Displaying a histogram of nonzero counts in Getting Started |
display
|
problem
|
indicators |
|
display
|
problem
|
integers |
Table 1 in User’s Manual |
display
|
problem
|
names |
Displaying variable or constraint names in Getting Started |
display |
problem |
objectives |
Displaying the objective functions in Getting Started |
display
|
problem
|
qconstraints |
|
display
|
problem
|
qpvariables |
|
display
|
problem
|
semi-continuous |
|
display
|
problem
|
sos |
|
display
|
problem
|
stats |
Solve the problem you intended or Table 1 in User’s Manual |
display
|
problem
|
variable |
|
display
|
sensitivity
|
lb |
Performing sensitivity analysis in Getting Started |
display
|
sensitivity
|
objective |
Performing sensitivity analysis in Getting Started |
display
|
sensitivity
|
rhs |
Performing sensitivity analysis in Getting Started |
display
|
sensitivity
|
ub |
Performing sensitivity analysis in Getting Started |
display
|
settings
|
Displaying parameter settings in Getting Started | |
display
|
settings
|
all |
Displaying parameter settings in Getting Started |
display
|
settings
|
changed |
Displaying parameter settings in Getting Started |
display
|
solution
|
basis |
|
display
|
solution
|
bestbound |
|
display
|
solution
|
difference i j |
Examining the solution pool in User’s Manual |
display
|
solution
|
dual |
|
display
|
solution
|
kappa |
Measuring problem sensitivity with basis condition number kappa in User’s Manual |
display
|
solution
|
list i n |
Examining the solution pool in User’s Manual |
display
|
solution
|
member |
Examining the solution pool in User’s Manual |
display
|
solution
|
objective |
|
display
|
solution
|
pool |
Examining the solution pool in User’s Manual |
display
|
solution
|
qcslacks |
|
display
|
solution
|
quality |
Coping with an ill-conditioned problem or handling unscaled infeasibilities or Understanding solution quality from the barrier LP optimizer in User’s Manual |
display
|
solution
|
reduced |
|
display
|
solution
|
slacks |
Displaying post-solution information in Getting Started |
display
|
solution
|
variables |
Displaying post-solution information in Getting Started |
display
|
solution number
|
i objective |
Examining the solution pool in User’s Manual |
display
|
solution number
|
i qcslacks |
|
display
|
solution number
|
i quality |
|
display
|
solution number
|
i slacks |
|
display
|
solution number
|
i variables |
|
enter
|
Entering a problem in Getting Started | ||
feasopt
|
constraints
|
Invoking FeasOpt in User’s Manual | |
feasopt
|
variables
|
Invoking FeasOpt in User’s Manual | |
feasopt
|
all
|
Invoking FeasOpt in User’s Manual | |
help
|
Using help in Getting Started | ||
mipopt
|
Using the mixed integer optimizer in User’s Manual | ||
netopt
|
Example: network optimizer in the Interactive Optimizer or CPX_ALG_HYBNETOPT inTable 1in User’s Manual | ||
optimize
|
Solving a problem in Getting Started | ||
populate
|
Populating the solution pool in User’s Manual | ||
primopt
|
Using alternative optimizers in Getting Started | ||
quit
|
Quitting CPLEX in Getting Started | ||
read
|
configurationfile | vmc | Using Open MPI with distributed parallel MIP in User's Manual |
read
|
filename | type | Starting from an advanced basis or Understanding the network log file or Filter files in User’s Manual |
read |
fileencoding |
string | file encoding switch in Parameters Reference Manual |
set
|
advance
|
Starting from an advanced basis in User’s Manual | |
set
|
barrier
|
Using the barrier optimizer in User’s Manual | |
set
|
barrier
|
algorithm |
Using the barrier optimizer or Choosing an ordering algorithm in User’s Manual |
set
|
barrier
|
colnonzeros |
Detecting and eliminating dense columns in User’s Manual |
set
|
barrier
|
convergetol |
|
set
|
barrier
|
crossover |
|
set
|
barrier
|
display
level |
Using the barrier optimizer or Numeric instability due to elimination of too many dense columns in User’s Manual |
set
|
barrier limits
|
corrections |
Change the limit on barrier corrections in User’s Manual |
set
|
barrier limits
|
growth |
|
set
|
barrier limits
|
iterations |
|
set
|
barrier limits
|
objrange |
Difficulties with unbounded problems in User’s Manual |
set
|
barrier
|
ordering |
|
set
|
barrier
|
qcpconvergetol |
|
set
|
barrier
|
startalg |
|
set
|
clocktype
|
||
set
|
conflict
|
display
level |
|
set
|
defaults
|
Resetting defaults in Getting Started | |
set
|
distmip
|
config mpi |
Using Open MPI with distributed parallel MIP in User's Manual |
set
|
distmip
|
config * |
Distributed parallel MIP in the Interactive Optimizer in User's Manual |
set
|
emphasis
|
memory |
Lack of memory or Memory emphasis: letting the optimizer use disk for storage in User’s Manual |
set
|
emphasis
|
mip |
Emphasizing feasibility and optimality in User’s Manual |
set
|
emphasis
|
numerical |
Numerical emphasis settings (LP) or Numerical emphasis settings (barrier) in User’s Manual |
set
|
feasopt
|
tolerance |
|
set
|
logfile
|
filename | Filing iteration logs in Getting Started |
set
|
lpmethod
|
||
set
|
mip cuts
|
all |
|
set
|
mip cuts
|
class | Table 1 in User’s Manual |
set
|
mip cuts
|
cliques |
|
set
|
mip cuts
|
covers |
|
set
|
mip cuts
|
disjunctive |
|
set
|
mip cuts
|
flowcovers |
|
set
|
mip cuts
|
gomory |
|
set
|
mip cuts
|
gubcovers |
|
set
|
mip cuts
|
implied |
|
set
|
mip cuts
|
mcfcut |
|
set
|
mip cuts
|
mircut |
|
set
|
mip cuts
|
pathcut |
|
set
|
mip cuts
|
zerohalf |
Zero-half cuts in User's Manual |
set
|
mip
|
display |
|
set
|
mip
|
interval |
|
set
|
mip limits
|
aggforcut |
|
set
|
mip limits
|
cutpasses |
|
set
|
mip limits
|
cutsfactor |
Parameters affecting cuts in User’s Manual |
set
|
mip limits
|
gomorycand |
|
set
|
mip limits
|
gomorypass |
|
set
|
mip limits
|
nodes |
Table 1 in User’s Manual |
set
|
mip limits
|
polishtime |
|
set
|
mip limits
|
populate |
Parameters of the solution pool in User’s Manual |
set
|
mip limits
|
probetime |
|
set
|
mip limits
|
repairtries |
|
set
|
mip limits
|
solutions |
Table 1 in User’s Manual |
set
|
mip limits
|
strongcand |
|
set
|
mip limits
|
strongit |
|
set
|
mip limits
|
treememory |
Reset the tree memory parameter in User’s Manual |
set
|
mip
|
ordtype |
|
set
|
mip pool
|
absgap |
Parameters of the solution pool in User’s Manual |
set
|
mip pool
|
capacity |
Parameters of the solution pool in User’s Manual |
set
|
mip pool
|
intensity |
Parameters of the solution pool in User’s Manual |
set
|
mip pool
|
relgap |
Parameters of the solution pool in User’s Manual |
set
|
mip pool
|
replace |
Parameters of the solution pool in User’s Manual |
set
|
mip strategy
|
backtrack |
Table 1 in User’s Manual |
set
|
mip strategy
|
bbinterval |
Table 1 in User’s Manual |
set
|
mip strategy
|
branch |
Table 1 in User’s Manual |
set
|
mip strategy
|
dive |
|
set
|
mip strategy
|
file |
|
set
|
mip strategy
|
heuristicfreq |
Heuristics in User’s Manual |
set |
mip strategy |
kappastats |
|
set
|
mip strategy
|
lbheuristic |
|
set
|
mip strategy
|
nodeselect |
Table 1 in User’s Manual |
set
|
mip strategy
|
order |
|
set
|
mip strategy
|
presolvenode |
|
set
|
mip strategy
|
probe |
Probing in User’s Manual |
set
|
mip strategy
|
rinsheur |
Relaxation induced neighborhood search (RINS) heuristic in User's Manual |
set
|
mip strategy
|
search |
MIP dynamic search switch in Parameters Reference Manual |
set
|
mip strategy
|
startalgorithm |
|
set
|
mip strategy
|
variableselect |
Table 1 in User’s Manual |
set
|
mip strategy
|
subalgorithm |
NodeAlg parameter and difficult subproblems in User’s Manual |
set
|
mip submip
|
nodelimit |
limit on nodes explored when CPLEX solves a subMIP in CPLEX Parameters Reference Manual |
set
|
mip submip
|
scale |
scale parameter for subMIPs in CPLEX Parameters Reference Manual |
set
|
mip submip
|
startalg |
algorithm for initial MIP relaxation of a subMIP of a MIP in CPLEX Parameters Reference Manual |
set
|
mip submip
|
subalg |
algorithm for subproblems of a subMIP of a MIP in CPLEX Parameters Reference Manual |
set
|
mip tolerances
|
absmipgap |
|
set
|
mip tolerances
|
integrality |
|
set
|
mip tolerances
|
lowercutoff |
|
set
|
mip tolerances
|
mipgap |
|
set
|
mip tolerances
|
objdifference |
Time wasted on overly tight optimality criteria in User’s Manual |
set
|
mip tolerances
|
relobjdifference |
|
set
|
mip tolerances
|
uppercutoff |
|
set
|
network
|
display |
Understanding the network log file in User’s Manual |
set
|
network
|
iterations |
Limiting iterations in the network optimizer in User’s Manual |
set
|
network
|
netfind |
|
set
|
network
|
pricing |
Selecting a pricing algorithm for the network optimizer in User’s Manual |
set
|
network tolerances
|
feasibility |
Controlling tolerance in User’s Manual |
set
|
network tolerances
|
optimality |
|
set
|
output
|
mpslong |
|
set
|
parallel
|
mode | Using parallel optimizers in the Interactive Optimizer in User’s Manual |
set
|
paramdisplay
|
yes
or
no |
changed parameter display switch in CPLEX Parameters Reference Manual |
set
|
preprocessing
|
aggregator |
Preprocessing and memory requirements
Table 1
in User’s Manual
|
set
|
preprocessing
|
boundstrength |
Table 1 in User’s Manual |
set
|
preprocessing
|
coeffreduce |
Examples: optimizing a simple MIP problem in User’s Manual |
set
|
preprocessing
|
dependency |
Preprocessing (continuous) Preprocessing (discrete) in User’s Manual |
set
|
preprocessing
|
dual |
Using a starting-point heuristic in User’s Manual |
set
|
preprocessing
|
qcpdual |
Accessing dual values and reduced costs of QCP solutions in User’s Manual |
set
|
preprocessing
|
fill |
Preprocessing in User’s Manual |
set
|
preprocessing
|
linear |
|
set
|
preprocessing
|
numpass |
|
set
|
preprocessing
|
presolve |
Preprocessing and memory requirements (continuous) in User’s Manual
Table 1
in User’s Manual
|
set
|
preprocessing
|
qpmakepsd |
|
set
|
preprocessing
|
reduce |
Preprocessing (continuous) or Preprocessing and feasibility (discrete) in User’s Manual |
set
|
preprocessing
|
relax |
Table 1 in User’s Manual |
set
|
preprocessing
|
repeatpresolve |
Preprocessing: presolver and aggregator (discrete) in User’s Manual |
set
|
preprocessing
|
symmetry |
|
set
|
qpmethod
|
||
set
|
randomseed
|
random seed | |
set
|
read
|
constraints |
|
set
|
read
|
datacheck |
Displaying problem statistics in Getting Started |
set
|
record
|
yes |
recording switch in Parameters Reference Manual |
set
|
read
|
nonzeros |
|
set
|
read
|
qpnonzeros |
|
set
|
read
|
scale |
Scaling in User’s Manual |
set
|
read
|
variables |
|
set
|
sifting
|
algorithm |
|
set
|
sifting
|
display |
|
set
|
sifting
|
iterations |
|
set
|
simplex
|
crash |
Table 5 in User’s Manual |
set
|
simplex
|
dgradient |
|
set
|
simplex
|
display |
|
set
|
simplex limits
|
iterations |
|
set
|
simplex limits
|
lowerobj |
|
set
|
simplex limits
|
perturbation N |
Stalling due to degeneracy in User’s Manual |
set
|
simplex limits
|
singularity |
Repeated singularities in User’s Manual |
set
|
simplex limits
|
upperobj |
|
set
|
simplex
|
perturbationlimit 0/1 C |
Stalling due to degeneracy in User’s Manual |
set
|
simplex
|
pgradient |
|
set
|
simplex
|
pricing |
|
set
|
simplex
|
refactor |
Refactoring frequency and memory requirements in User’s Manual |
set
|
simplex tolerances
|
feasibility |
Maximum bound infeasibility: identifying largest bound violation in User’s Manual |
set
|
simplex tolerances
|
markowitz |
Inability to stay feasible in User’s Manual |
set
|
simplex tolerances
|
optimality |
Maximum reduced-cost infeasibility in User’s Manual |
set
|
threads
|
||
set
|
timelimit
|
Table 1 in User’s Manual | |
set |
tune display
|
i | Tuning tool in User’s Manual |
set
|
workdir
|
prompt for directory | Memory emphasis: letting the optimizer use disk for storage in User’s Manual |
set
|
workmem
|
prompt for new value of working memory available | Memory emphasis: letting the optimizer use disk for storage or Table 1 in User’s Manual |
tranopt
|
Solve the problem currently in memory by a dual (transposed) simplex method. | ||
tools
|
conflict
|
Meet the conflict refiner in the Interactive Optimizer in User’s Manual | |
tools
|
runseeds
|
n | Evaluating variability |
tools
|
tune
|
filenames
parameterfile
.
prm
|
Examples: time limits on tuning in the Interactive Optimizer and Fixing parameters and tuning multiple models in the Interactive Optimizer in User’s Manual |
write
|
filenames | type |
Preprocessing (continuous) or Difficulty solving subproblems: overcoming degeneracy or MIP starts and the Interactive Optimizer or Saving QP problems in User’s Manual |
write
|
filename.sol |
n
or
all
|
How to enumerate all solutions in User’s Manual |
xecute
|
command
|
Executing operating system commands in Getting Started |