greater_equal¶

greater_equal(
poly: Poly,
right: float,
label: str = '',
penalty_formulation: str | PenaltyFormulation = Default,
) Constraint¶
greater_equal(
array: PolyArray,
right: float,
label: str = '',
penalty_formulation: str | PenaltyFormulation = Default,
axis: Literal[None] | None = None,
) Constraint
greater_equal(
array: PolyArray,
right: float,
label: str = '',
penalty_formulation: str | PenaltyFormulation = Default,
axis: int | tuple[int, ...] | None = None,
) Constraint | ConstraintList

greater_equal

Overloading:

1. greater_equal(poly: amplify.Poly, right: float, label: str = '', penalty_formulation: Union[str, amplify.PenaltyFormulation] = Default) -> amplify.Constraint

Args:
  • poly (amplify.Poly):

  • right (float):

  • label (str): Defaults to ''.

  • penalty_formulation (str | amplify.PenaltyFormulation): Defaults to Default.

Returns:

amplify.Constraint:

2. greater_equal(array: amplify.PolyArray, right: float, label: str = '', penalty_formulation: Union[str, amplify.PenaltyFormulation] = Default, axis: Optional[Literal[None]] = None) -> amplify.Constraint

Args:
  • array (amplify.PolyArray):

  • right (float):

  • label (str): Defaults to ''.

  • penalty_formulation (str | amplify.PenaltyFormulation): Defaults to Default.

  • axis (Literal[None] | None): Defaults to None.

Returns:

amplify.Constraint:

3. greater_equal(array: amplify.PolyArray, right: float, label: str = '', penalty_formulation: Union[str, amplify.PenaltyFormulation] = Default, axis: Optional[Union[int, tuple[int, ...]]] = None) -> Union[amplify.Constraint, amplify.ConstraintList]

Args:
  • array (amplify.PolyArray):

  • right (float):

  • label (str): Defaults to ''.

  • penalty_formulation (str | amplify.PenaltyFormulation): Defaults to Default.

  • axis (int | tuple[int, ...] | None): Defaults to None.

Returns:

amplify.Constraint | amplify.ConstraintList: