Unpack constraints in a list of list into a matrix, equality or inequality signs, constant on right hand side

Share:

Description

Unpack constraints in a list of list into a matrix, equality or inequality signs, constant on right hand side

Usage

1
unlist.constr(constraints)

Arguments

constraints

- a list of list of constraints with constr.mat, constr.dir, constr.rhs in each sublist

Value

a list containing matrix, signs and RHS constants