octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63286] [octave forge] (optim) fmincon fails f


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #63286] [octave forge] (optim) fmincon fails for Rosenbrock example
Date: Sat, 29 Oct 2022 08:53:35 -0400 (EDT)

Follow-up Comment #9, bug #63286 (project octave):

Hi Arun, 

For the row/column inputs, please consider the link below.  Array is a legal
input.  

https://www.mathworks.com/help/optim/ug/matrix-arguments.html

I have seen the row vs column inputs causing error message for dimension
mismatch.  Fmincon accepts both and sqp accepts only column input.  So there
is some confusion on my side for exactly what to expect.  For the specific
OUTP issue, I think the optimal solution has been obtained regardless if there
is OUTP or not.  The form below did provide the right solution.  Or you might
want to document the special column input requirement for fmincon OUTP to
work.   Thanks.  

[X, FVAL, CVG]=fmincon (OBJF=fun, [0 0], A=[], B=[], AEQ=[], BEQ=[], LB=[0 0],
UB=[1 1]) 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63286>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]