[Ipopt] Limited-memory quasi-newton option
Andreas Waechter
andreasw at watson.ibm.com
Mon Nov 22 09:55:18 EST 2010
Hi Andre,
Sorry for the delayed reply.
I assume you figured it out by now, but, yes, to pose an unconstrained
problem to Ipopt you need to set the number of constraints m to zero.
I believe you do not need to supply callback functions for the evaluation
of constraint values and derivatives, if you setting those pointers to
NULL causes a segmentation fault, you can just provide dummy functions
that simply return true (1).
Regards,
Andreas
On Thu, 11 Nov 2010, loerx wrote:
> Hi,
>
> after the quick answer to my compiling problem a couple of weeks ago, -
> thanks!!! -, I come up to you with another short question.
>
> I'd like to solve a plain nonlinear problem using the limited-memory
> quasi-newton option with box-constraints. (There are no linear or
> nonlinear constraints, g(x) < 0.)
> Is it enough to set the number of constraints index to zero (or maybe
> -1)? Do I have to provide the evaluation functions eval_jac_g, etc?
> What should they return?
>
> I'm using the C interface. Any help would be very nice!
>
> Best regards,
> Andre
>
> --
>
>
> +-- --- --- --- --- --- --- --- --- --- --- --- --+
> Andre Loerx
>
> University of Trier
> FB IV - Department of Mathematics
> 54286 Trier, Germany
>
> phone: +49 651 201 3468
> fax: +49 651 201 3973
> email: loerx at uni-trier.de
> www: http://www.mathematik.uni-trier.de/~loerx
> +-- --- --- --- --- --- --- --- --- --- --- --- --+
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>
More information about the Ipopt
mailing list