problem.lpoptimize
problem.lpoptimize |
Purpose
This function begins a search for the optimal continuous (LP) solution. The direction of optimization is given by
OBJSENSE. The status of the problem when the function completes can be checked using
LPSTATUS. Any global entities in the problem will be ignored.
Synopsis
problem.lpoptimize(flags)
Argument
flags
|
(optional) Flags to pass to
lpoptimize. The default is
"" or
None, in which case the algorithm used is determined by the
DEFAULTALG control. If the argument includes:
|
Further information
1. The algorithm used to optimize is determined by the
DEFAULTALG control if no flags are provided. By default, the dual simplex is used for linear problems and the barrier is used for non-linear problems.
2. The
d and
p flags can be used with the
n flag to complete the solution of the model with either the dual or primal algorithms once the network algorithm has solved the network part of the model.
3. The
b flag cannot be used with the
n flag.
Related topics
problem.mipoptimize, Chapter 4 of the Xpress Optimizer reference manual.