Skip to content

Add the ScalarValuedFunctionModifications to the function bundle for non-C++ languages #37

Description

@josyoun

The ScalarValuedFunctionModifications are what we use to build things like the the merit function or the gradient of the Lagrangian. At the moment, they sit inside the function bundle and they are initialized when we call getMin. In any case, these functions are freely accessible in C++, but not in MATLAB and Python. This makes calculating things like the gradient of the Lagrangian difficult for things like user-defined stopping conditions. Certainly, we could just add items like grad_stop to the optimization state, but we're probably better off just giving access to the raw modifications in case we need a different one.

Metadata

Metadata

Assignees

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