Optimiser.set_objective

Optimiser.set_objective(objective='min')

Set the objective function for the problem.

Parameters:
objectivestr, 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