Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NonlinearConstraint-class

The NonlinearConstraint class.


Description

This class represents a nonlinear inequality constraint, f(x) ≤q 0 where f is twice-differentiable.

Usage

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.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.