Constructor of goalp object
new_goalp(lp, A, m, b, w, p, varType, X, obj, eqs)
A goalp object.
lp object. The solution of the underlying linear program.
Numeric matrix with goals coefficients. Only for original variables. Rows and columns must be named.
Character vector containg the relation between Ax and b. Each
element can be =, ==, >, <. >=, <=
.
Numeric vector with the right hand side of the goals.
Numeric matrix (nC x 2) with the weights of each deviation.
Numeric matrix containing the priorities of each deviation variable for lexicographic goal programming. Lower numbers imply higher priority.
Character vector describing the type of the original variables, as either "b", "i", or "c".
Numeric matrix with the value of the (decision) variables in each iteration of the lexicographic optimisation.
Numeric vector with the value of the objective function in each iteration of the lexicographic optimisation.
Character vector with the human-readable formulation of the problem. Generated automatically from A, b and w if not provided.
It doesn't do any checks, but it does generate objects
x
: Vector with the optimal value of decision variables.
d
: Matrix with the optimal value of the deviations.
solutionFound
: TRUE if a solution was found, FALSE otherwise.