Learn R Programming

ROI (version 0.2-1)

J: Extract Jacobian Information

Description

Derive the Jacobian for a given constraint.

Usage

J(x, ...)
"J"(x, ...)
"J"(x, ...)

Arguments

...
further arguments

Value

a list of functions

Examples

Run this code
L <- matrix(c(3, 4, 2, 2, 1, 2, 1, 3, 2), nrow=3, byrow=TRUE)
lc <- L_constraint(L = L, dir = c("<=", "<=", "<="), rhs = c(60, 40, 80))
J(lc)

Run the code above in your browser using DataLab