[Ipopt] Problems in models in C++

Hans Pirnay hans.pirnay at rwth-aachen.de
Wed Feb 9 05:37:47 EST 2011


If you are on linux: use valgrind to figure out if your problems may be due
to uninitialized values

On Wed, Feb 9, 2011 at 10:57 AM, Dan <yanndan at yahoo.com> wrote:

> Dear all,
>
> I have a problem with the C++ Interface. I am currently coding some network
> models. I tried to model a small instance like the hs_071 example and it
> went well.
>
> I coded my network in term of functions that my TNLP class will called if
> needed.
> When I run it, it does not find a solution and it goes into a loop.I caught
> this message run by IPOPT:
> "WARNING : Problem in step computation; switching to emergency code."
>
> In order to solve my problem, I tried several thing including the
> derivative checker and two weird things appears:
>
>    - my jacobian is not dense. I can not figure why. I checked at almost
>    step and I can not find why the derivative checker of my jacobian is dense.
>    - the value found by the derivative checker are eccentric. It says mine
>    are wrong while they are not. It is a adjacency matrix so it is only 1 and
>    -1.
>
> If you have any ideas to solve my problem of ways to find my errors, I
> would greatly appreciate.
>
> Best Regards,
> Dan
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110209/3f06fa01/attachment.html 


More information about the Ipopt mailing list