Originally posted by: ol
Hello,
I am not sure I fully understand your problem. If you need to test your classes, you can proceed as usual, CP Optimizer as a linked library should not be a problem.
If the method you want to test is the solving of a constraint problem with only one solution, then I would answer yes to your third question. Note that when several solutions exist and the search strategy is not determistic, the test may be not so simple, and depends on what you want to test.
If you want to test a function that uses more primitive features of CP Optimizer, your own IlcGoal for example, you need to build a test case, defining the context of the test, but I do not see anything specific to CP Optimizer.
Hope it helps
Olivier
#CPOptimizer#DecisionOptimization