Class: ORTools::MathOpt::Variable
- Inherits:
-
Object
- Object
- ORTools::MathOpt::Variable
show all
- Includes:
- Variable
- Defined in:
- lib/or_tools/math_opt/variable.rb
Instance Attribute Summary
#parts
Instance Method Summary
collapse
Methods included from Variable
#inspect, #vars
#!=, #*, #+, #-, #-@, #<, #<=, #==, #>, #>=, #coerce, #inspect, #to_s, #vars
Instance Method Details
#eql?(other) ⇒ Boolean
6
7
8
|
# File 'lib/or_tools/math_opt/variable.rb', line 6
def eql?(other)
other.is_a?(self.class) && _eql?(other)
end
|
#hash ⇒ Object
10
11
12
|
# File 'lib/or_tools/math_opt/variable.rb', line 10
def hash
id.hash
end
|