Please check my coding, I really dont know how to fix this problem. It shows my result is infeasible/unbounded. Thanks for your time!!!
11.23(1).gms (8.01 KB)
First solve as rMIP (message “Model has an unbounded ray”) and then set a bound on the objective to prevent unboundedness (Gamma.lo = -1e6;) now check your runaway variables (Pj h1 .Microturbine) and see why this variable is not bounded by your logic. Fix it!
-Michael