Closed mstriebs closed 1 year ago
I'll review a pull request to add these with tests if you want to make one :)
Source goes here: https://github.com/jump-dev/Gurobi.jl/blob/master/src/MOI_wrapper/MOI_multi_objective.jl
For the tests, write a new function here: https://github.com/jump-dev/Gurobi.jl/blob/master/test/MOI/MOI_multiobjective.jl
Hi guys, a few days ago I had to use GRBsetstrattr
to set the objective names for better readability. So it would be nice to include this case as well. 🙂
Currently the multi-objective implementation uses individual functions to set/get attributes. However, currently only weigth and priority are implemented. Some other important parameters like objnabstol, or objnrelstol cannot be set as the functions are missing. I would suggest something like the following structs and overloads, to have a more universal approach: