Optimizer๏ƒ

class emflow.models.optimizer.Optimizer[source]๏ƒ

Bases: Model, ABC

abstract optimize(objective_function, constraints=None)[source]๏ƒ

Perform the optimization.

Parameters:
  • objective_function โ€“ The objective function to be minimized or maximized.

  • constraints โ€“ (Optional) Constraints for the optimization problem.

Returns:

The result of the optimization.