Bounds#

class do_dpc.control_utils.control_structs.Bounds(max_values, min_values)[source]#

Bases: object

Represents upper and lower bounds for optimization variables.

max_values#

The upper bound values.

Type:

np.ndarray

min_values#

The lower bound values.

Type:

np.ndarray

Raises:
  • ValueError – If max_values and min_values have different shapes.

  • ValueError – If any min_values[i] > max_values[i], ensuring valid bounds.

Methods#

Attributes#

max_values#

Bounds.max_values: ndarray#

min_values#

Bounds.min_values: ndarray#