| OptimizationProblem-class | R Documentation |
The OptimizationProblem class is used to represent an optimization
problem. Data are stored in memory and accessed using an external pointer.
Only experts should interact with this class directly.
externalptr object.
list object.
x$print()
x$show()
x$repr()
x$ncol()
x$nrow()
x$ncell()
x$modelsense()
x$vtype()
x$obj()
x$pwlobj()
x$A()
x$rhs()
x$sense()
x$lb()
x$ub()
x$number_of_projects()
x$number_of_actions()
x$number_of_features()
x$number_of_branches()
x$row_ids()
x$col_ids()
x$get_data()
externalptr object.
print the object.
show the object.
character representation of object.
integer number of columns (variables) in model matrix.
integer number of rows (constraints) in model matrix.
integer number of cells in model matrix.
character model sense.
character vector of variable types.
numeric vector containing the linear components of the
objective function.
list object containing the piece-wise linear components
of the objective function.
Matrix::dgCMatrix model matrix
numeric vector of right-hand-side constraints.
character vector of constraint senses.
numeric vector of lower bounds for each decision variable.
numeric vector of upper bounds for each decision variable.
integer number of projects in the problem.
integer number of actions in the problem.
integer number of features in the problem.
integer number of phylogenetic branches in
the problem.
character names describing each decision variable
(column) in the model matrix.
character names describing each constraint (row) in
in the model matrix.
list containing additional data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.