[Ipopt] invalid use of incomplete type ‘struct Ipopt::SolveStatistics’

cocobollo at gmx.net cocobollo at gmx.net
Mon Oct 31 07:09:30 EDT 2011


Hi,

problem solved. I had forgotten to include IpSolveStatistics.hpp.

thanks and kind regards

peter

On 10/31/2011 11:32 AM, cocobollo at gmx.net wrote:
> Hello,
>
> i wrote an example program and everything worked just fine.
> But when i try to access the statistics with
>
> Number final_objective = app->Statistics()-> FinalObjective();
>
> or for example
>
> Index iter_count = app->Statistics()->IterationCount();
>
> i get the following error:
>
> error: invalid use of incomplete type ‘struct Ipopt::SolveStatistics’
>
> What exactly ist the problem here and how can i solve it?
>
> Thank you in advance
>
> peter
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list