CPXXdelsos and CPXdelsos
The routine CPXXdelsos/CPXdelsos deletes a group of
special ordered sets (SOSs) from a CPLEX problem object.
int CPXXdelsos( CPXCENVptr env, CPXLPptr lp, CPXDIM begin, CPXDIM end )
int CPXdelsos( CPXCENVptr env, CPXLPptr lp, int begin, int end )
Description
The routine CPXXdelsos/CPXdelsos deletes a group of
special ordered sets (SOSs) from a CPLEX problem object.
Note:
The
begin and end must not exceed
CPXgetnumsos(env,lp).Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob. - begin
- An integer, indicating the first SOS to be deleted.
- end
- An integer, indicating the last SOS to be deleted.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXdelsos (env, lp, begin, end);