def set_variable_bounds(var_index, lb, ub, force = false)
      # This is a bit of a hack so that we don't try to set
      # the variable bounds before they get added to the model
      return unless force

      Cbc.Cbc_setColLower @ptr, var_index, lb
      Cbc.Cbc_setColUpper @ptr, var_index, ub
    end
def set_variable_bounds(var_index, lb, ub, force = false)
      # This is a bit of a hack so that we don't try to set
      # the variable bounds before they get added to the model
      return unless force

      Cbc.Cbc_setColLower @ptr, var_index, lb
      Cbc.Cbc_setColUpper @ptr, var_index, ub
    end
Set the bounds of a variable in the model