NO FRAMES

CPXfreelazyconstraints

public int CPXfreelazyconstraints(CPXCENVptr env, CPXLPptr lp)
Definition file: cplex.h
Note

This is an advanced routine. Advanced routines typically demand a thorough understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.

The routine CPXfreelazyconstraints clears the list of lazy constraints that have been previously specified through calls to CPXaddlazyconstraints.

Example

 status = CPXfreelazyconstraints (env, lp);
 

Parameters:

env

A pointer to the CPLEX environment, as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX LP problem object, as returned by CPXcreateprob.

Returns:

The routine returns zero if successful and nonzero if an error occurs.