odatse.util.limitation module
- class odatse.util.limitation.Inequality(a: ndarray, b: ndarray, is_limitary: bool)[source]
Bases:
LimitationBase
Class representing an inequality limitation.
Initialize the inequality limitation.
- Parameters:
a (np.ndarray) – Coefficient matrix.
b (np.ndarray) – Constant vector.
is_limitary (bool) – Boolean indicating if the limitation is active.
- __init__(a: ndarray, b: ndarray, is_limitary: bool)[source]
Initialize the inequality limitation.
- Parameters:
a (np.ndarray) – Coefficient matrix.
b (np.ndarray) – Constant vector.
is_limitary (bool) – Boolean indicating if the limitation is active.
- class odatse.util.limitation.LimitationBase(is_limitary: bool)[source]
Bases:
object
Abstract base class for limitations.
Initialize the limitation.
- Parameters:
is_limitary (bool) – Boolean indicating if the limitation is active.
- class odatse.util.limitation.Unlimited[source]
Bases:
LimitationBase
Class representing an unlimited (no limitation) condition.
Initialize the unlimited condition.