Hello,

I am trying to write a CP model with a production system problem. And I want to use a integrated approximation algorithm within the CP model to measure the system performance. My proposed method is:

1) A CP model generates all of the possible configurations related to the problem.

2) Performance measurements are computed using a approximation algorithm iteratively.

3) A model is selected a optimum/feasible solution.

I want to use performance measurement values as objective function. However I could not achieved. If the objective function is not related to any constraints, the error message is received. Does the objective function has to be mentioned in subject to block?