API

Model

ExampleModeling.SpecsType

Specification for different model scenarios. For example, we can specify toggling on and off certain constraints and objectives.

Arguments

  • relax_integer::Bool=false: If true, relax integer constraints from variables.
source

IO

Utility

ExampleModeling.model_to_dtypeFunction

The function queries values from the model to data type based on its field names. It extracts values from DenseAxisArray from its data field. Then, it converts the values to the corresponding field type. The function rounds integers before conversion because JuMP outputs integer variables as floats.

source