-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
It would be nice to be able to pass a callback function that is applied after each optimization for an objective (particularly in the case of lexicographic multi-objective optimization). The reason I ask is that I'm having trouble achieving what I want in the constricting context of the lexicographic algorithm. It would look something like
callback!(model::JuMP.model, objective::JuMP.AffExpr, objective_index::Int; my_struct = nothing)
So within the scope of this callback I can access the model to read the values of the decision variables resulting from the latest optimization and modify bounds. Ideally I can also pass a generic object my_struct to store (processed) results. The objective and objective_index can be used to decide what parsing must be done after this particular objective.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested