FRAMES NO FRAMES

IlcResourceConstraintNegativeConstraintPredicate

public IloPredicate< IlcResourceConstraint > IlcResourceConstraintNegativeConstraintPredicate(IlcManager)
Definition file: ilsched/selector.h
Include file: <ilsched/ilsched.h>

This function returns a resource constraint predicate whose operator(const IlcResourceConstraint& rc) returns IlcTrue if and only if rc was constructed by the member function IlcActivity::requiresNot or was extracted from an IloResourceConstraint that was constructed by the member function IloActivity::requiresNot. This member function returns IlcFalse if the resource constraint rc is an empty handle; that is, if it corresponds to a virtual resource constraint (source or sink node). This predicate is implemented using IlcResourceConstraint::possiblyContributes.

This functions exists with either an IloEnv or an IloSolver as argument.