Method for constructing the optimization model

# S4 method for optimizer
construct_model(object, maximize = TRUE)

Arguments

object

an S4 object of class Optimizer

maximize

Whether to maximize or minimize the objective function