Originally posted by: trebron
Dear Alex,
many thanks for your reply.
To me it is surprising that there are setter-Methodsbut no getter-Methods. Changing the coeff can do more harm than just having a look at it ... Can you put it on the "wish-list"?
Concerning your workarounds:
(1) Seems to fail as well, as the hasNext() method always returns null in that setting, i.e. you can not iterate over the variables.
(2) Seems to me like 'overkill' in order to obtain the objective coeeficients. That works well for your small example. For more compex problems it is out of scope to wait several hours for the problem to be solved in order to access the objective coefficients.
Best regards
Norbert
#DecisionOptimization#OPLusingCPLEXOptimizer