Model and Solve Mixed Integer Linear Programs


[Up] [Top]

Documentation for package ‘ompr’ version 0.8.1

Help Pages

*-method Multiply
*-method Multiply
*-method Multiply
*-method Multiply
+-method Plus
+-method Plus
+-method Unary Plus
+-method Plus
+-method Plus
+-method Plus
+-method Unary Plus
+-method Plus
+-method Plus
+-method Plus
--method Minus
--method Minus
--method Unary Minus
--method Plus
--method Minus
--method Minus
--method Unary Minus
--method Minus
--method Minus
--method Minus
/-method Division
/-method Division
add_constraint Add a constraint
add_constraint_ Add a constraint
add_variable Add a variable to the model
add_variable_ Add a variable to the model
as_colwise As_colwise
colwise Format variables colwise
extract_constraints Extract the constraint matrix, the right hand side and the sense from a model
get_column_duals Gets the column duals of a solution
get_row_duals Gets the row duals of a solution
get_solution Get variable values from a solution
get_solution_ Get variable values from a solution
LinearVariable-class An S4 class that represents a single variable
LinearVariableCollection-class An S4 class that represents a collection of variables
LinearVariableSum-class Holds a sum of a constant and a linear variable collection
MILPModel Experimental: Create a new MILP Model
MIPModel Create a new MIP Model
nconstraints Number of variables (rows) of the model
new_solution Create a new solution
nvars Number of variables of a model
objective_function Extract the objective function from a model
objective_value Extract the numerical objective value from a solution
ompr A package to Model (Mixed) Integer Programs
set_bounds Set the bounds of a variable
set_bounds_ Set the bounds of a variable
set_objective Set the model objective
set_objective_ Set the model objective
solver_status Get the solver status from a solution
solve_model Solve a model
sum_expr Construct a sum expression
variable_bounds Variable lower and upper bounds of a model
variable_keys Get all unique names of the model variables
variable_types Variable types of a model
[-method Subset model variables