new_goalp {goalp}R Documentation

new_goalp: Creates a new goalp object

Description

Constructor of goalp object

Usage

new_goalp(lp, A, m, b, w, p, varType, X, obj, eqs)

Arguments

lp

lp object. The solution of the underlying linear program.

A

Numeric matrix with goals coefficients. Only for original variables. Rows and columns must be named.

m

Character vector containg the relation between Ax and b. Each element can be =, ==, >, <. >=, <=.

b

Numeric vector with the right hand side of the goals.

w

Numeric matrix (nC x 2) with the weights of each deviation.

p

Numeric matrix containing the priorities of each deviation variable for lexicographic goal programming. Lower numbers imply higher priority.

varType

Character vector describing the type of the original variables, as either "b", "i", or "c".

X

Numeric matrix with the value of the (decision) variables in each iteration of the lexicographic optimisation.

obj

Numeric vector with the value of the objective function in each iteration of the lexicographic optimisation.

eqs

Character vector with the human-readable formulation of the problem. Generated automatically from A, b and w if not provided.

Details

It doesn't do any checks, but it does generate objects

Value

A goalp object.


[Package goalp version 0.3.1 Index]