Overview

A solution to the house building with budget and resource pools problem can be determined using CP Optimizer and the three-stage method of describe, model and solve.

In this lesson, you will learn how to:

  • use the class IloCumulFunctionExpr;

  • use the functions IloPulse, IloStepAtStart and IloStepAtEnd.

You will learn how to model and solve a house building problem, a problem of scheduling the tasks involved in building multiple houses in such a manner that minimizes the overall completion date of the houses. Some tasks must necessarily take place before other tasks, and each task has a predefined size. Moreover, there are three workers, and each task requires any one of the three workers. A worker can be assigned to at most one task at a time. In addition, there is a cash budget with a starting balance. Each task requires a certain amount of the cash budget at the start of the task, and the cash balance is increased every sixty days. To find a solution to this problem using CP Optimizer, you will use the three-stage method: describe, model and solve.