The MCFClass Project
|
There is only one macro in MCFSimplex, but it is very important! More...
Macros | |
#define | QUADRATICCOST 0 |
Setting QUADRATICCOST == 1 the solver can solve problems with linear and quadratic costs too (but the latter only with the Primal Simplex). | |
There is only one macro in MCFSimplex, but it is very important!
#define QUADRATICCOST 0 |
Setting QUADRATICCOST == 1 the solver can solve problems with linear and quadratic costs too (but the latter only with the Primal Simplex).
The reason for having a macro is that when quadratic costs are present the "arcType" struct has the additional field "quadraticCost" to hold it. Furthermore, the field "ident" is not created because the solver doesn't use the classical TLU tripartition. Instead, closed arcs and deleted arcs are characterized as follows: