FRAMES NO FRAMES

IlcResourceConstraintProvidingConstraintPredicate

public IloPredicate< IlcResourceConstraint > IlcResourceConstraintProvidingConstraintPredicate(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::provides or was extracted from an IloResourceConstraint that was constructed by the member function IloActivity::provides or IloActivity::produces. 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.