Description
Usage
Arguments
Value
Author(s)
References
See Also
Examples
View source: R/LPD.R
This function creates an object of class "CLPD"
, by which a
deterministic program is defined.
 (obj, A, , rhs, bounds = , = )

obj 
vector : Coefficients in objective function.

A 
matrix : The lhsmatrix of the constraints.

dir 
vector : The relational operators in the
constraints. Allowed are "<=" , "==" or ">=" .

rhs 
vector : The rhsvalues of the constraints.

bounds 
NULL or list : The lower and upper bounds of the
variables. If left NULL , the default values of zero and
infinity are used, otherwise a list object as expected in
Rglpk_solve_LP() must be provided.

max 
logical : Whether the objective should be minimized
(the default) or maximized.

An object of S4class "CLPD"
.
Bernhard Pfaff
Birge, J. R. and Louveaux, F., Introduction to Stochastic
Programming, Springer Series in Operations Research and Financial
Engineering, Second Edition, 2004, New York: Springer.
CLPD
1
2
3
4
5
6
7
8
9
10
11
12
13  ##
## Birge & Louveaux
## Chapter 5, Section 1a, masterproblem
##
obj < (100, 150)
A < ((1, 1,
1, 0,
0, 1),
= 2, = 3, byrow = )
< ("<=", ">=", ">=")
rhs < (120, 40, 20)
MLP < (obj, A, , rhs)
MLP

TSSP documentation built on May 31, 2017, 2:40 a.m.