NonlinearConstraint-class function

The NonlinearConstraint class.

The NonlinearConstraint class.

This class represents a nonlinear inequality constraint, f(x)0f(x) \leq 0 where ff is twice-differentiable. class

NonlinearConstraint(f, vars_, id = NA_integer_)

Arguments

  • f: A nonlinear function.
  • vars_: A list of variables involved in the function.
  • id: (Optional) An integer representing the unique ID of the contraint.

Slots

  • f: A nonlinear function.
  • vars_: A list of variables involved in the function.
  • .x_dim: (Internal) The dimensions of a column vector with number of elements equal to the total elements in all the variables.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07