variable_keys: Get all unique names of the model variables

Description Usage Arguments Value Examples

View source: R/model-api.R

Description

Get all unique names of the model variables

Usage

1

Arguments

model

the model

Value

a character vector ordered in the same way as the constraint matrix columns and objective vector

Examples

1
2
3
4
library(magrittr)
model <- MIPModel() %>%
  add_variable(x[i], i = 1:3)
variable_keys(model)

dirkschumacher/romp documentation built on Oct. 6, 2018, 4:36 a.m.