switch_model/utilities/gurobi_aug.py
def _postsolve(self):
        """
        Called after solving. Add option to output the VBasis/CBasis information to a pickle file.
        """
        results = super(GurobiAugmented, self)._postsolve()
        if self._write_warm_start is not None:
            if self._solver_model.IsMIP:
                warnings.warn("--save-warm-start doesn't work for MIP models. Not creating a .pickle file.")
            else:
                timer = StepTimer(msg="Saving results to warm_start.pickle...")
                self._save_warm_start(self._save_c_v_basis)
                print(f"Created warm start pickle file in {timer.step_time_as_str()}")
        return results

        Called after solving. Add option to output the VBasis/CBasis information to a pickle file.
        
Called after solving. Add option to output the VBasis/CBasis information to a pickle file.
Called after solving . Add option to output the VBasis / CBasis information to a pickle file .
def _postsolve(self):
        results = super(GurobiAugmented, self)._postsolve()
        if self._write_warm_start is not None:
            if self._solver_model.IsMIP:
                warnings.warn("--save-warm-start doesn't work for MIP models. Not creating a .pickle file.")
            else:
                timer = StepTimer(msg="Saving results to warm_start.pickle...")
                self._save_warm_start(self._save_c_v_basis)
                print(f"Created warm start pickle file in {timer.step_time_as_str()}")
        return results
def _postsolve ( self ) : results = super ( GurobiAugmented , self ) . _postsolve ( ) if self . _write_warm_start is not None : if self . _solver_model . IsMIP : warnings . warn ( "--save-warm-start doesn't work for MIP models. Not creating a .pickle file." ) else : timer = StepTimer ( msg = "Saving results to warm_start.pickle..." ) self . _save_warm_start ( self . _save_c_v_basis ) print ( f"Created warm start pickle file in {timer.step_time_as_str()}" ) return results
Called after solving.
Called after solving .
"""
        Called after solving. Add option to output the VBasis/CBasis information to a pickle file.
        """
self