12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

change bound service lower 2.8and re-optimize. Now at last the model delivers an optimum:Tried aggregator 1 time.MIP Presolve eliminated 9 rows and 12 columns.MIP Presolve modified 16 coefficients.All rows and columns eliminated.Presolve time = 0.00 sec.MIP-Integer optimal solution: Objective = 3.3500000000e+02Solution time = 0.00 sec. Iterations = 0 Nodes = 0Displaying the solution indicates that employees {2,3,5,6,7,10} are used in the optimalsolution.Adding a ConstraintA natural question is why so many employees are needed. Look for an answer by adding aconstraint limiting employees to five or fewer, like this:addx1+x2+x3+x4+x5+x6+x7+x8+x9+x10 = 2.1c3: x6 + 0.9 x7 + 0.5 x8 >= 1.2c4: x9 + 0.9 x10 >= 0.8c11: x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!