There’s always the possibility of a bug, but I’d be a bit surprised in this 
case. Unless you have additional user-defined costs, you can easily compute the 
objective function value yourself using the totcost() function, or even by 
explicitly using the quadratic coefficients to compute the cost of each gen.

-- 
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853  USA
phone: (607) 255-9645

On Aug 1, 2014, at 10:16 AM, Tommy k <[email protected]> wrote:

> Hi
> 
>  I have the some cost functions of the following format which I believe is 
> still a convex cost function. With large initial cost and  a negative 1st 
> order coefficient.
> 
> abc.gencost = [
> 2 0 0 3 0.54376    -229.78     145993.63;
> ....
> ]
> 
> runopf converges and I am getting lambda's in the correct ranges. However the 
> object function is displaying a very, very large number.  Could there be a 
> bug in the display of the objective function? 
>  
> Regards
>   Tom

Reply via email to