[Top][All Lists]

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

Re: PACKAGE OPTIM - fmincon

From: Olaf Till
Subject: Re: PACKAGE OPTIM - fmincon
Date: Sat, 15 Feb 2020 11:53:50 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Feb 14, 2020 at 01:55:49PM +0200, address@hidden wrote:
> I have the following function works in Matlab, but not in Octave, the error
> message is 
> error: lbound: wrong dimensions
> error: called from
>     __apply_param_config_vectors__ at line 37 column 11
>     fmincon at line 311 column 5
> I have tried  transpose of lower bound, i.e.   x0_lb = [-100,0]' but then
> same message, except that upper bound now has wrong dimension, then I took
> transpose of X0_ub and message reverts back to lower bound has wrong
> dimension.

The 'fmincon' in Octaves optim package requires x0, x0_lb, and x0_ub
to be column vectors. This is probably a bug, since Matlabs 'fmincon'
seems to accept arbitrary arrays at least for x0. You may want to file
a bug report so I don't forget to deal with the issue.


public key id EAFE0591, e.g. on x-hkp://

Attachment: signature.asc
Description: PGP signature

reply via email to

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