Initializing help system before first use

XPRStune

Purpose
This function begins a tuner session for the current problem. The tuner will solve the problem multiple times while evaluating a list of control settings and promising combinations of them. When finished, the tuner will select and set the best control setting on the problem. Note that the direction of optimization is given by OBJSENSE.
Topic area
Synopsis
int XPRS_CC XPRStune(XPRSprob prob, const char *flags);
Arguments
prob 
The current problem.
flags 
Flags to pass to XPRStune, which specify whether to tune the current problem as an LP or a MIP problem, and the algorithm for solving the LP problem or the initial LP relaxation of the MIP. The flags are optional. If the argument includes:
will tune the problem as an LP (mutually exclusive with flag g);
will tune the problem as a MIP (mutually exclusive with flag l);
will tune the problem as a Global Optimization problem with Xpress Global;
will use the dual simplex method;
will use the primal simplex method;
will use the barrier method;
will use the network simplex method.
Example
XPRStune(prob, "dp");
This tunes the current problem. The problem type is automatically determined. If it is an LP problem, it will be solved with a concurrent run of the dual and primal simplex method. If it is a MIP problem, the initial LP relaxation of the MIP will be solved with a concurrent run of primal and dual simplex.
Further information
1. Please refer to command TUNE for a list of related controls.
2. Please refer to Section Using the Tuner for a detailed guide of how to use the tuner.
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.