Hi sir,
I try to solve a economic dispatch problem in power system. In the first, I used the quadratic generation cost functions to model the problem and got the solution and all the dual variables by calling command dual.
Then, to simiplify the problem, I piecewise linearized the quadratic functions to form a linearized model, and the solution was verified by the one from quadratic model. But when I called dual command, it only returned NaN. What could cause this happen?
I use CPLEX 12.6.
Thank you so much.
Wang Kai