Skip to content

Add JuMP function #288

@blegat

Description

@blegat

According to jump-dev/JuMP.jl#3980 (comment), we should define set_forward_constraint_function etc.. that do the reshape and call moi_function and not do it in MOI.set like

return MOI.set(model, attr, JuMP.moi_function(func))

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