Skip to content

List of possible improvements (continuously updated) #3

Description

@jowaibel

(eno Enhancement No.) (Place in code) (Suggested enhancement)


eno3 laopt::variable There should be a way to cast the value of a scalar variable (size 1x1) to double. So far, I can only write it to an Eigen::Matrix< > type, it seems.


eno5 eval_objective() It is not possible to pass a const Eigen object to this function for evaluation. I.e., it is not possible to directly pass a const reference to the function, e.g., a typical get function: const double obj_eval = opt_problem.eval_objective(laopt::Eval(), solver.sol_primal()).


eno6 laopt::variable Allow to use variable as scalar if length is one.


eno8 'casting to T' Simplify/make casting (of literals) to differentiable type T easier. | Allow explicit usage of math functions with namespace and/or template type: E.g., laopt::atan2( )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions