specs/constraints/bool/linear.rb in gecoder-0.9.0 vs specs/constraints/bool/linear.rb in gecoder-0.9.1
- old
+ new
@@ -1,7 +1,9 @@
require File.dirname(__FILE__) + '/../constraint_helper'
-class BoolLinearSampleProblem < Gecode::Model
+class BoolLinearSampleProblem
+ include Gecode::Mixin
+
attr :x
attr :y
attr :z
def initialize