skfolio.exceptions.ConvexOptimizationError#

exception skfolio.exceptions.ConvexOptimizationError[source]#

A convex optimization step could not produce valid portfolio weights.

This includes infeasible problems and unusable numerical results. It can be caught as OptimizationError or cvxpy.SolverError. See Failure Handling.

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.