lpmodel.natural: Define an 'lpmodel.natural' form object

View source: R/lpmodel.R

lpmodel.naturalR Documentation

Define an lpmodel.natural form object

Description

This function defines the objects required in the lpinfer package in the lpmodel.natural class that allows both equality and inequality constraints.

Usage

lpmodel.natural(
  A.obs = NULL,
  A.shp = NULL,
  A.tgt = NULL,
  beta.obs = NULL,
  beta.shp = NULL,
  sense.shp = NULL,
  x.lb = NULL,
  x.ub = NULL
)

Arguments

A.obs

A matrix, list or function.

A.shp

A matrix, list or function.

A.tgt

A matrix, list or function.

beta.obs

A vector, list or function.

beta.shp

A vector, list or function.

sense.shp

The sense vector for the shape constraints.

x.lb

The lower bound for the \bm{x} variable.

x.ub

The upper bound for the \bm{x} variable.

Value

Returns a list of lpmodel objects in the lpmodel class.


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