[PPL-devel] [GIT] ppl/ppl(master): Fixed a (potential) exception safety bug in class MIP_Problem.
Enea Zaffanella
zaffanella at cs.unipr.it
Fri Jul 10 18:10:23 CEST 2009
Module: ppl/ppl
Branch: master
Commit: 9806b1f8969f83070f4c3b5e8ac850132c2ea8b1
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=9806b1f8969f83070f4c3b5e8ac850132c2ea8b1
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Fri Jul 10 18:05:14 2009 +0200
Fixed a (potential) exception safety bug in class MIP_Problem.
Added an helper class (implementing RAII technique) to safely relax a MIP
problem into an LP problem and ensure that integer variables are restored
even in the presence of exceptional execution paths.
Improved interface (and a few comments) for private methods dealing with
MIP optimization and satisfiability.
---
src/MIP_Problem.cc | 130 ++++++++++++++++++++++------------------------
src/MIP_Problem.defs.hh | 57 ++++++++++++++-------
2 files changed, 101 insertions(+), 86 deletions(-)
Diff: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9806b1f8969f83070f4c3b5e8ac850132c2ea8b1
More information about the PPL-devel
mailing list