Originally posted by: SystemAdmin
Hi,
the issue in your code extract is in the declaration of "subData"
If you look for IloOplDataElements in the
reference manual , you will notice that the constructor takes
no parameter, so in your script, replace
var subData =
new IloOplDataElements(subSource);
by
var subData =
new IloOplDataElements(); subData.<yourData>=<the data value>;
As for the error message you get, it is expected, since there is an error in the main script, the execution fails.
In the
documentation for main, it says "A return value >=0 means that the execution was correct. A return value <0 means that an error occurred during the execution."
Hope this helps
#ConstraintProgramming-General#DecisionOptimization