Closed dirkschumacher closed 2 years ago
Then can then handle special cases like conic constraints which are also now supported in ROI.
Or concepts like SOS variables in certain solvers.
model$add_constraint(list(x, y, z), SOS1())
Or something like this:
model$add_constraint(
list(t, x - 1, x - 2) %in_set% Set$SecondOrderCone()
)
For now I will settle with this:
model$add_constraint(x + 5, in_set = MOI::less_than_set(10))
A set based interface as in other modelling packages like JuMP might be a good extension.