This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cplex [2014/09/25 16:05] sertalpbilal |
cplex [2015/10/28 11:31] sertalpbilal removed |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== C++ API ===== | ===== C++ API ===== | ||
- | ==== Saving | + | ==== Saving |
- | CPLEX can save the variables | + | CPLEX can save the model by using the CPLEX environment as follows: |
<code cpp save.cpp> | <code cpp save.cpp> | ||
- | | + | baseModel = new IloModel(env); |
+ | IloCplex cplex(*baseModel); | ||
+ | // Stuff | ||
+ | cplex.exportModel(" | ||
</ | </ | ||
Based on the extension, CPLEX can also save with '' | Based on the extension, CPLEX can also save with '' |