FRAMES NO FRAMES

IlcAltResConstraintResourceSelectedPredicate

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

This function returns an alternative resource constraint predicate whose operator(const IlcAltResConstraint& altrc) returns IlcTrue if and only if a single resource has been selected for the activity corresponding to altrc. If there are still multiple resources that can be selected, IlcFalse is returned. This predicate is implemented using IlcAltResConstraint::isResourceSelected.

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