Bravos-Power / pyoframe

Rapidly formulate huge optimization models
https://bravos-power.github.io/pyoframe/
MIT License
2 stars 1 forks source link

User friendly handling of unused variables #19

Open staadecker opened 6 months ago

staadecker commented 6 months ago

Thanks to @kjartan-at-bravos for catching this:

Gurobi outputs:

Warning: unknown variable 'Ic_py[34,0,1]' in bounds section (line 929710)

when variables were defined that aren't used.

Some explanation to the user would be nice. And probably silencing subsequent warnings.