diff --git a/src/variable.rs b/src/variable.rs index af02954..8286c08 100644 --- a/src/variable.rs +++ b/src/variable.rs @@ -117,11 +117,16 @@ impl FormatWithVars for Variable { /// Defines the properties of a variable, such as its lower and upper bounds. #[derive(Clone, PartialEq, Debug)] pub struct VariableDefinition { - pub(crate) min: f64, - pub(crate) max: f64, - pub(crate) initial: Option, - pub(crate) name: String, - pub(crate) is_integer: bool, + /// The minimum bound of the variable + pub min: f64, + /// The maximum bound of the variable + pub max: f64, + /// The optional initial value of the variable + pub initial: Option, + /// The name of the variable + pub name: String, + /// Whether or not this variable has an integer constraint + pub is_integer: bool, } impl VariableDefinition {