def METHOD_NAME(self):
    m = ConcreteModel()
    m.x = Var(bounds=(-1, 1))
    m.obj = Objective(expr=m.x)
    m.rc = Suffix(direction=Suffix.IMPORT)
    opt = SolverFactory('cbc')
    res = opt.solve(m)
    self.assertAlmostEqual(res.problem.lower_bound, -1)
    self.assertAlmostEqual(res.problem.upper_bound, -1)
    self.assertAlmostEqual(m.rc[m.x], 1)
    m.obj.sense = maximize
    res = opt.solve(m)
    self.assertAlmostEqual(res.problem.lower_bound, 1)
    self.assertAlmostEqual(res.problem.upper_bound, 1)
    self.assertAlmostEqual(m.rc[m.x], 1)