Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# Multi-Objective Logging

The contents of the log for a multi-objective solve will depend on the approach you use to solve the model. As noted in the section on multi-objective models, you have two options. In a blended approach, where the objectives are combined into a single objective, the log will be the same as what you’d see for a single-objective model. When using a hierarchical approach, a series of models is solved, one for each objective priority level. If your model is a pure hierarchical multi-objective problem with three objectives, the optimization process log will start with

    ---------------------------------------------------------------------------
    Multi-objectives: starting optimization with 3 objectives ...
    ---------------------------------------------------------------------------

If your model is a mixed hierarchical-blended multi-objective problem with five objectives but only three priorities, the optimization log will start with

    ---------------------------------------------------------------------------
    Multi-objectives: starting optimization with 5 objectives (3 combined) ...
    ---------------------------------------------------------------------------

You will also see a log for each solve, introduced by a small header

    ---------------------------------------------------------------------------
    Multi-objectives: optimize objective 1 Name ...
    ---------------------------------------------------------------------------

Where `Name` will be the name of the objective function being optimize, or `(weighted)` if the objective function is the result of blending more than one objective function.

The logs for the individual solves will again be the same as what you’d see for a single-objective model.

Help and Feedback

Press `/` or click to search this documentation | Gurobi website | Gurobi community forum
Go to other Gurobi documentation | Gurobi download | Contact support