You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on observation made in #439 , I designed a small example (very quickly handdrafted, so not very clean) demonstrating the error when using continuous variables.
In the following script, the manual loop works as expected, but the second one breaks as it claims that the constraints are not fulfilled.
However, when the variable x6 is renamed to x06, then both loops work as intended. This seems to be related to some sort of reordering happening, since the print shows that the order of columns does not correspond to the order of declared parameters.
I know what the problem is and have verified it by testing. Nothing wrong with the simulation module and nothing wrong with the constraints – the lookup is to blame. It's exactly the bad design that was just changed in #441: the parameters are reordered internally, but the lookup is declared with positional arguments and the original ordering in mind.
Now that #441 is merged, the problem will automatically disappear once the lookup mechanism of the benchmark gets updated, which has to happen during rebase / backward merge. Hence, I'll mark this issue as resolved, since it is essentially fixed on main.
Based on observation made in #439 , I designed a small example (very quickly handdrafted, so not very clean) demonstrating the error when using continuous variables.
In the following script, the manual loop works as expected, but the second one breaks as it claims that the constraints are not fulfilled.
However, when the variable
x6
is renamed tox06
, then both loops work as intended. This seems to be related to some sort of reordering happening, since the print shows that the order of columns does not correspond to the order of declared parameters.The text was updated successfully, but these errors were encountered: