Module: ORTools::Variable
- Includes:
- ExpressionMethods
- Included in:
- MPVariable, MathOpt::Variable, RoutingIntVar, SatBoolVar, SatIntVar
- Defined in:
- lib/or_tools/variable.rb
Instance Attribute Summary
Attributes included from ExpressionMethods
Instance Method Summary collapse
Methods included from ExpressionMethods
#!=, #*, #+, #-, #-@, #<, #<=, #==, #>, #>=, #coerce, #to_s
Instance Method Details
#inspect ⇒ Object
5 6 7 |
# File 'lib/or_tools/variable.rb', line 5 def inspect name end |
#vars ⇒ Object
9 10 11 |
# File 'lib/or_tools/variable.rb', line 9 def vars @vars ||= [self] end |