Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

set method

iLab Assistant

Choose the solution method the LP solver (cplex, gurobi, or osi) will use to solve each non-mip iteration in SHOP

Options/primal, /dual, /baropt, /hybbaropt, /netprimal, /netdual, /concurrent_lp
Value
LicenseSHOP_OPEN
Release version13.0.0.a

Defining CPLEX solution method

CPLEX has different solution algorithms that can be used to solve a LP problem. It is possible to choose the algorithm by giving the command:

set method /<option>

The following options are allowed:

OptionComment
primalPrimal simplex method
dualDual simplex method
baroptBarrier solver
hybbaroptHybrid barrier solver
netprimalNetwork primal solver with additional constrains
netdualNetwork dual solver with additional constrains

The default solver is dual simplex.

When using MIP modelling, a branch and bound algorithm will automatically be used as this is the only valid alternative.