Optimisations using discrete parameters

1 post / 0 new
Joined: 2014-01-03
Optimisations using discrete parameters

Currently it's not possible to optimise models that use discrete parameters (paramters that are assigned by a discrete expression, eg. using modulo, floor, ceil). The toMX() conversion fails in this case.

This can however be avoided by setting Evaluate=true, since then the discrete expression is evaluated before the toMX() conversion. This seems to work in my examples where I now set Evaluate=true for all parameters since I don't need parameter estimation anyway. I propose to flag parameters that have an unsupported binding expression (or even all parameters?) such that they are automatically treated as if Evaluate=true for optimisation problems.