class OPL::VariableCoefficientPair
Attributes
coefficient[RW]
lower_bound[RW]
upper_bound[RW]
variable[RW]
variable_type[RW]
Public Class Methods
new(variable, coefficient, variable_type=1)
click to toggle source
# File lib/opl.rb, line 864 def initialize(variable, coefficient, variable_type=1) @variable = variable @coefficient = coefficient @variable_type = variable_type end