Hi Steven:

Thanks for the reply. Maybe I forgot to mention, the objective function is
nonlinear, but the constraint functions are all linear constraints. Thanks.

Best Regards~

Hao

-------------------------------------------------------------------------------
Hao Wu
Discovery Analytics Center, Virginia Tech
Bradley Department of Electrical and Computer Engineering
Virginia Tech, Arlington, VA 22203, USA
-------------------------------------------------------------------------------


On Sun, Mar 23, 2014 at 9:23 PM, Steven G. Johnson <[email protected]>wrote:

> L-BFGS doesn't support nonlinear constraints, as explained in the manual.
>
> On Mar 22, 2014, at 12:16 PM, Hao Wu wrote:
> > I am using the NLOPT to solve a non-linear optimization problem with
> L-BFGS
> > algorithm in C++. When I did not add any constraint to the optimizer,
> everything
> > works well. However, when I try to add some vector-valued constraints,
> the optimizer
> > fails and throw out the std::invalid_argument exception. Here is the
> output of
> > the program:
>
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to