Initializing help system before first use

XPRSlpoptimize (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 MIP entities in the problem will be ignored.
Topic areas
Synopsis
int XPRS_CC XPRSlpoptimize(XPRSprob prob, const char *flags);
LPOPTIMIZE [-flags]
Arguments
prob 
The current problem.
flags 
Flags to pass to XPRSlpoptimize ( LPOPTIMIZE). The default is "" or NULL, in which case the algorithm used is determined by the DEFAULTALG control. If the argument includes:
the problem will be solved using the Newton barrier method, or the Hybrid gradient method if BARALG is set to 4;
the problem will be solved using the primal simplex algorithm;
the problem will be solved using the dual simplex algorithm;
(lower case N), the network part of the problem will be identified and solved using the network simplex algorithm;
Example
See also examples loadlp.c, roundint.c, tableau.c.
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 nonlinear problems.
2. The d and p flags can be used with the n flag to complete the solution of the problem with either the dual or primal algorithms once the network algorithm has solved the network part of the problem.
3. The b flag cannot be used with the n flag.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.