def actualResolve(self, lp, callback=None):
    '\n            Solve a well formulated lp problem\n\n            uses the old solver and modifies the rhs of the modified constraints\n            '
    log.debug('Resolve the Model using gurobi')
    for constraint in lp.constraints.values():
        if constraint.modified:
            constraint.solverConstraint.setAttr(gurobipy.GRB.Attr.RHS, (- constraint.constant))
    lp.solverModel.update()
    self.callSolver(lp, callback=callback)
    solutionStatus = self.findSolutionValues(lp)
    for var in lp.variables():
        var.modified = False
    for constraint in lp.constraints.values():
        constraint.modified = False
    return solutionStatus
Solve a well formulated lp problem

uses the old solver and modifies the rhs of the modified constraints
def actualResolve(self, lp, callback=None):
    '\n            Solve a well formulated lp problem\n\n            uses the old solver and modifies the rhs of the modified constraints\n            '
    log.debug('Resolve the Model using gurobi')
    for constraint in lp.constraints.values():
        if constraint.modified:
            constraint.solverConstraint.setAttr(gurobipy.GRB.Attr.RHS, (- constraint.constant))
    lp.solverModel.update()
    self.callSolver(lp, callback=callback)
    solutionStatus = self.findSolutionValues(lp)
    for var in lp.variables():
        var.modified = False
    for constraint in lp.constraints.values():
        constraint.modified = False
    return solutionStatus