In-Memory backend that simply stores everything in-memory
Add a constraint variable to a cached model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ## S4 method for signature 'cache_model_class,MOI_variable_index_attribute'
moi_supports(model, type)
## S4 method for signature
## 'cache_model_class,MOI_variable_index_attribute,character'
moi_get(model, type, index)
## S4 method for signature 'cache_model_class,MOI_variable_name_attribute'
moi_supports(model, type)
## S4 method for signature
## 'cache_model_class,
## MOI_variable_name_attribute,
## MOI_variable_index,
## character'
moi_set(model, type, index, value)
## S4 method for signature
## 'cache_model_class,
## MOI_objective_function,
## MOI_scalar_affine_function,
## missing'
moi_set(model, type, index, value)
## S4 method for signature
## 'cache_model_class,MOI_objective_sense,numeric,missing'
moi_set(model, type, index, value)
## S4 method for signature 'cache_model_class'
moi_add_variable(model)
## S4 method for signature
## 'cache_model_class,MOI_abstract_function,MOI_abstract_set'
moi_add_constraint(model, func, set)
## S4 method for signature
## 'cache_model_class,MOI_abstract_index,MOI_abstract_set'
moi_add_constraint(model, func, set)
## S4 method for signature 'cache_model_class,MOI_abstract_set'
moi_add_constrained_variable(model, set)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.