Usage
Barrier Users OnlyDescription
At any time after a linear or quadratic program has been created via a call to CPXcreateprob(), the routine CPXbaropt() may be used to find a solution to that problem using the barrier algorithm. The optimization results are recorded in the LP problem object. Return Value
The CPXbaropt() routine returns a value of 0 if successful (i.e., a solution exists, although not necessarily an optimal solution). If unsuccessful, a non-zero value is returned. Use the CPXsolution() or CPXgetstat() routine to determine the status of the barrier optimization.Synopsis
int CPXbaropt (CPXENVptr env,
CPXLPptr lp);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
status = CPXbaropt (env, lp);