-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Hello,
I am trying to use MultiObjectiveAlgorithms.jl for my system. For single objective problem in my system I use UnoSolver.jl, which has given me great results.
I wanted to know if I can use it in MOA as well, as in the readme file it says:
Replace HiGHS.Optimizer with an optimizer capable of solving a single-objective instance of your optimization problem.
But when I try it on the example Bi-objective linear problem my code fails. Here is my code:
using JuMP,UnoSolver
import HiGHS
import MultiObjectiveAlgorithms as MOA
model = Model()
set_silent(model)
@variable(model, x1 >= 0)
@variable(model, 0 <= x2 <= 3)
@objective(model, Min, [3x1 + x2, -x1 - 2x2])
@constraint(model, 3x1 - x2 <= 6)
set_optimizer(model, () -> UnoSolver.Optimizer(preset="filtersqp")) # Only changed the Optimizer from HiGHS
set_attribute(model, MOA.Algorithm(), MOA.Lexicographic())
optimize!(model)
solution_summary(model)So is there a problem in my usage or is the UnoSolver not compatible with MOA as of now?
Thank you
Metadata
Metadata
Assignees
Labels
No labels