assigning linear gencosts

2012-10-01 Thread Evangelos Galinas
Hallo all, Could please someone confirm that assigning piecewise linear generating costs (in my case just linear) like below is wrong? mpc.gencost(1,1)=1% piecewisempc.gencost(1,4)=2%2 data pointsmpc.gencost(1,5)=0% 1st point 0,0mpc.gencost(1,6)=0 mpc.gencost(1,7)=1% 2nd point 1,

RE: assigning linear gencosts

2012-10-02 Thread Evangelos Galinas
Dear all, is there a way to make the suc value return 1 only and only if no violation of any constraint occurs? Thanks in advance, Evangelos

Re: assigning linear gencosts

2012-10-03 Thread Ray Zimmerman
This is correct. -- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Oct 1, 2012, at 8:42 PM, Evangelos Galinas wrote: > Hallo all, > > Could please someone confirm that assigning piecewise linear generating costs > (i

Re: assigning linear gencosts

2012-10-03 Thread Ray Zimmerman
success = 1 means that it converged successfully to a feasible solution (no constraint violations). success = 0 means that it was unable to find a solution, often because the problem is infeasible, but there can be other reasons. -- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cor