lpmodel.anylist: Check if there is any list in the 'lpmodel' object

View source: R/lpmodel.R

lpmodel.anylistR Documentation

Check if there is any list in the lpmodel object

Description

This function checks if there is any components in the lpmodel object with class list.

Usage

lpmodel.anylist(lpmodel)

Arguments

lpmodel

A lpmodel object.

Value

Returns the following objects:

list

A boolean variable that indicates whether there is any object with the class list in the lpmodel object.

name

The names of the components with class list in the lpmodel object.

consol

A consolidated and updated lpmodel object that lists the lpmodel by observation instead of by component (if applicable).

len

The length of the component in the lpmodel object that is a list (if applicable).


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.