You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When bads is called with LB, UB, pLB, and pUB all equivalent (and thus fixing every dimension of the search), this error is returned:
Error using bads (line 343) If no starting point is provided, PLB and PUB need to be specified. Error in fixedbads (line 41) [x_free,fval] = bads(fun_fix,x0,LB,UB,PLB,PUB,nonbcon_fix,options); Error in bads (line 386)
The motivation for wanting to call BADS with every dimension fixed is to obtain the value of the objective function (and non linear constraint) from a nested function. This allows for a tidy arrangement of the code.
The text was updated successfully, but these errors were encountered:
Thanks for spotting this, good point. It seems a non-critical issue; I should be able to have a look at it in the following days (other stuff in the queue).
When
bads
is called with LB, UB, pLB, and pUB all equivalent (and thus fixing every dimension of the search), this error is returned:Error using bads (line 343) If no starting point is provided, PLB and PUB need to be specified. Error in fixedbads (line 41) [x_free,fval] = bads(fun_fix,x0,LB,UB,PLB,PUB,nonbcon_fix,options); Error in bads (line 386)
The motivation for wanting to call BADS with every dimension fixed is to obtain the value of the objective function (and non linear constraint) from a nested function. This allows for a tidy arrangement of the code.
The text was updated successfully, but these errors were encountered: