That's not an error. Optimal, infeasible and unbounded are the three acceptable states of a mathematical program. You might not want to have an infeasible model but that's your issue. There are lots of good write-ups about how to deal with infeasible model, e.g. Bruce McCarl's excerpt which you find here: https://www.gams.com/blog/article/?tx_n ... e635ad1235.