IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Breaks > Define the Problem, Design a Model > Set the Enforcement Level |
Set the Enforcement Level |
INDEX
![]() |
The member function IloResourceParam
::setCapacityEnforcement
allows you to set the enforcement level on resource usage. The enforcement level IloMediumHigh
means that Scheduler will spend more effort at enforcing this constraint than it would by default.
/* SET ENFORCEMENT LEVEL */ IloSchedulerEnv schedEnv(env); IloResourceParam resParam = schedEnv.getResourceParam(); resParam.setCapacityEnforcement(IloMediumHigh); |
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |