Originally posted by: ops1234
The thing is, my problem is not created once in the beginning, but over time new variables are added with CPXXnewcols(...) and new constraints by CPXXaddrows(...). So I don't really have the whole problem neatly written down like in the example. For example after some time my algorithm will add a new variable x, which should go into the objective as 3x^2. Is there not an easy way to do that?
Or how would this case look like when we follow the example? Is that even possible?
Best regards,
ops
#CPLEXOptimizers#DecisionOptimization