Skip to content

MOI.AbstractNLPEvaluator as a function or constraint container #1814

@matbesancon

Description

@matbesancon

It is unclear from MOI.Test and from the doc whether the AbstractNLPEvaluator expression should contain the nonlinear expression or the non-linear constraint.
Given l <= g(x) <= u,
the oracle interface (Jacobian, Hessian) provides information on g at a given x. However, the two valid examples in Test/test_nonlinear.jl, HS071 and FeasibilitySenseEvaluator have constraint_expr return the constraint expression g(x) <= u.

Having the bounds seem non-relevant since the BlockData API includes the bounds:
MOI.NLPBlockData(MOI.NLPBoundsPair.(lb, ub), evaluator, true)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions