Originally posted by: gargius
Thank you. Now it works.
Do you recommend to switch over to cplex.jar?
I have a model in .mod file and I like the possibility to use OPL to implement the model.
I looked at some examples to implement the model in Java directly without OPL but it was not so intuitive as with OPL.
But I want to declare the single elements in my objective function (objElement 1: ..., objElement 2: ..., .....). At this moment I have the complete elements of the objective function in the post process block to access the single objective value of every element.
I don't think it is possible to do this with OPL easier?! I know it is possible with cplex.jar.
Thanks in advance
regards
#DecisionOptimization#OPLusingCPLEXOptimizer