Changeset 537:0fec6a017ead in lemon-main
- Timestamp:
- 02/23/09 22:54:25 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/glpk.cc
r462 r537 521 521 rows.clear(); 522 522 cols.clear(); 523 } 524 525 void GlpkBase::freeEnv() { 526 glp_free_env(); 523 527 } 524 528 -
lemon/glpk.h
r462 r537 102 102 103 103 public: 104 105 /// \brief Deallocates the globally allocated memory of GLPK. 106 107 /// Deallocates the globally allocated memory of GLPK. \note 108 /// Usually, it do not have to be called, because the GLPK use 109 /// only a small amount of global memory, and it is deallocated 110 /// automatically at the end of program. 111 static void freeEnv(); 104 112 105 113 ///Pointer to the underlying GLPK data structure. -
test/lp_test.cc
r462 r537 367 367 aTest(lp_glpk2); 368 368 } 369 GlpkLp::freeEnv(); 369 370 #endif 370 371 -
test/mip_test.cc
r462 r537 116 116 aTest(mip1); 117 117 } 118 GlpkLp::freeEnv(); 118 119 #endif 119 120
Note: See TracChangeset
for help on using the changeset viewer.