Changeset 785:8d281761dea4 in lemon-1.1 for lemon
- Timestamp:
- 05/05/12 10:22:44 (12 years ago)
- Branch:
- default
- Children:
- 786:c3a7ca108705, 787:7440937d154b
- Phase:
- public
- Location:
- lemon
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/solver_bits.h
r503 r785 45 45 void clear() { 46 46 first_item = -1; 47 last_item = -1; 47 48 first_free_item = -1; 48 49 items.clear(); -
lemon/cbc.cc
r781 r785 424 424 425 425 _prob = new CoinModel(); 426 rows.clear();427 cols.clear();428 426 } 429 427 -
lemon/clp.cc
r568 r785 425 425 delete _prob; 426 426 _prob = new ClpSimplex(); 427 rows.clear();428 cols.clear();429 427 _col_names_ref.clear(); 430 428 _clear_temporals(); -
lemon/cplex.cc
r568 r785 438 438 int status; 439 439 _prob = CPXcreateprob(cplexEnv(), &status, "Cplex problem"); 440 rows.clear();441 cols.clear();442 440 } 443 441 -
lemon/glpk.cc
r568 r785 521 521 void GlpkBase::_clear() { 522 522 glp_erase_prob(lp); 523 rows.clear();524 cols.clear();525 523 } 526 524 -
lemon/lp_base.h
r766 r785 1543 1543 1544 1544 ///Clears the problem 1545 void clear() { _clear(); }1545 void clear() { _clear(); rows.clear(); cols.clear(); } 1546 1546 1547 1547 /// Sets the message level of the solver
Note: See TracChangeset
for help on using the changeset viewer.