             min: min
             max: max
 
-        this.solver.addConstraint new c.Inequality(variable, c.GEQ, min)
-        this.solver.addConstraint new c.Inequality(variable, c.LEQ, max)
+        this.solver.addConstraint new c.Inequality(variable, c.GEQ, min, c.Strength.required, 0)
+        this.solver.addConstraint new c.Inequality(variable, c.LEQ, max, c.Strength.required, 0)
+        this.solver.addConstraint new c.StayConstraint(variable, c.Strength.medium, 0)
 
         return variable
 

balance = new c.Equation formula, 0, c.Strength.required, 0
solver.addConstraint balance

solver.addEditVar(cost, c.Strength.strong).beginEdit()
solver.addEditVar(feature, c.Strength.strong).beginEdit()
solver.addEditVar(time, c.Strength.strong).beginEdit()
solver.suggestValue(cost, 0)
solver.suggestValue(feature, 0)


solver.endEdit()

createSlider = (model) ->
    sliderControl = $('<div class="control"/>').slider
        min: model.min
        max: model.max
        value: model.value
        start: (event, ui) =>
            solver.addEditVar(model.variable, c.Strength.strong).beginEdit()
        stop: (event, ui) =>
            solver.suggestValue(model.variable, ui.value)
            solver.endEdit()
        slide: (event, ui) =>
            solver.suggestValue(model.variable, ui.value).resolve()

    valueContainer = $("<div class=value>#{model.variable.value}</div>")

    controlList.push
        variable: model.variable
        control: sliderControl
        valueContainer: valueContainer

    $('<div class=slider-container clearfix></div>')
        .append("<div class=label>#{model.variable.name}</div>")
        .append(valueContainer)
        .append(sliderControl)

