Gurobi / gurobi-optimods

Data-driven APIs for common optimization tasks
https://gurobi-optimods.readthedocs.io
Apache License 2.0
153 stars 32 forks source link

Enforce gencost.n <= 3 for OPF input data #114

Closed simonbowly closed 1 year ago

simonbowly commented 1 year ago

We previously allowed n > 3 for the NY case, but it had no non-zero cubic terms. This change makes the gencost input validation stricter and modifies the NY case to fit.