Optimiser.set_objective

Optimiser.set_objective(objective='min')[source]

Set the objective function for the problem.

Parameters

objective (str, optional) – Name of the objective function to call, by default β€˜min’ For a list of possible objective functions see [link].

Returns

None – Optimiser is modified in place