anriseth / MultiJuMP.jl

MultiJuMP enables the user to easily run multiobjective optimisation problems and generate Pareto fronts.
Other
61 stars 11 forks source link

ParetoFRont with WeightedSum method #29

Open Rym28 opened 5 years ago

Rym28 commented 5 years ago

Hello,

I executed an ILP model with three-objectives using the weighted sum method and i got a paretofront.

The problem that i would like to show the used weights for each objective to generate each point of the paretoFront.

Did you have an idea how to show that ?

Thanks

anriseth commented 5 years ago

I don't think there is an interface for directly accessing this at the moment. Could be an interesting optional feature:)

For now, you can find out by replicating what is done in the code: The weights are decided using the function betas, see the source of WS: https://github.com/anriseth/MultiJuMP.jl/blob/master/src/linear.jl#L40 So you can call betas yourself, with the relevant dimension and number of points per dimension, then loop through the betatree to find the weights in the order corresponding to the elements in multidata.parefront

Thanks for using the package :) May I ask what types of problems you are looking at?

Rym28 commented 5 years ago

Hi, I'm looking at BinPacking problem.

Could you please explain me more in writing me a short code.

Thanks