Learn R Programming

cccp (version 0.3-1)

nnoc: Definition of linear inequality constraints

Description

This function is the interface to the reference class NNOC for creating linear constraints.

Usage

nnoc(G, h)

Value

List with elements: conType, G and h.

Arguments

G

Object of class "matrix": A \((m \times n)\) matrix containing the coefficients of the lefthand-side linear inequality constraints.

h

Object of class NNOV: A \((m \times 1)\) vector containing the coefficients of the righthand-side linear inequality constraints as slot u.