Interface SolveResult

Result of solving the model.

interface SolveResult {
    solution: null | SolutionMessage;
    statistics: {
        [key: string]: any;
    };
    status: Status;
}

Properties

solution: null | SolutionMessage

The final solution if any was found.

statistics: {
    [key: string]: any;
}

A combined statistics object with the latest value for each key if statistics output was enabled during solving.

status: Status

Solve status.