... | ... |
@@ -488,5 +488,5 @@ |
488 | 488 |
/// \param method The internal method that will be used in the |
489 | 489 |
/// algorithm. For more information, see \ref Method. |
490 |
/// \param factor The cost scaling factor. It must be |
|
490 |
/// \param factor The cost scaling factor. It must be at least two. |
|
491 | 491 |
/// |
492 | 492 |
/// \return \c INFEASIBLE if no feasible flow exists, |
... | ... |
@@ -502,5 +502,6 @@ |
502 | 502 |
/// \see ProblemType, Method |
503 | 503 |
/// \see resetParams(), reset() |
504 |
ProblemType run(Method method = PARTIAL_AUGMENT, int factor = |
|
504 |
ProblemType run(Method method = PARTIAL_AUGMENT, int factor = 16) { |
|
505 |
LEMON_ASSERT(factor >= 2, "The scaling factor must be at least 2"); |
|
505 | 506 |
_alpha = factor; |
506 | 507 |
ProblemType pt = init(); |
0 comments (0 inline)