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
The problem is infeasible if the ratio between inst-cap-c and inst-cap-p is not ep-ratio.
Sometimes it is the case according to excel (in fact, I use outputs of one model year as input in the next year, so I am sure the ratio is correct), but not to pyomo after loading the values, probably due to rounding.
I personally solve this by rounding inst-cap-p to two digits, then multiplying it with ep-ratio to obtain an updated inst-cap-c. Maybe this could be included in the validation?
The text was updated successfully, but these errors were encountered:
The problem is infeasible if the ratio between inst-cap-c and inst-cap-p is not ep-ratio.
Sometimes it is the case according to excel (in fact, I use outputs of one model year as input in the next year, so I am sure the ratio is correct), but not to pyomo after loading the values, probably due to rounding.
I personally solve this by rounding inst-cap-p to two digits, then multiplying it with ep-ratio to obtain an updated inst-cap-c. Maybe this could be included in the validation?
The text was updated successfully, but these errors were encountered: