Skip to content

Inaccurate error when all variables fixed #5

@gkaguirre

Description

@gkaguirre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions