skfolio.exceptions.OptimizationError#

exception skfolio.exceptions.OptimizationError[source]#

An optimizer could not compute a valid portfolio allocation.

See Failure Handling for fallback behavior and Updates and Failure Handling for online continuation and restart rules.

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

with_traceback(object, /)#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.