IBM ILOG Solver User's Manual > Developing Solver Applications > Designing Models > Back propagate costs

The cost variable must be related to the other constrained variables of the problem through constraints.