Initializing help system before first use

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:
the model will be solved using the Newton barrier method;
the model will be solved using the primal simplex algorithm;
the model will be solved using the dual simplex algorithm;
(lower case N), the network part of the model will be identified and solved using the network simplex algorithm;
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.