cmake/LEMONConfig.cmake.in
author Peter Kovacs <kpeter@inf.elte.hu>
Fri, 13 Nov 2009 00:10:33 +0100
changeset 815 aef153f430e1
permissions -rw-r--r--
Entirely rework cycle canceling algorithms (#180)

- Move the cycle canceling algorithms (CycleCanceling, CancelAndTighten)
into one class (CycleCanceling).
- Add a Method parameter to the run() function to be able to select
the used cycle canceling method.
- Use the new interface similarly to NetworkSimplex.
- Rework the implementations using an efficient internal structure
for handling the residual network.
This improvement made the codes much faster.
- Handle GEQ supply type (LEQ is not supported).
- Handle infinite upper bounds.
- Handle negative costs (for arcs of finite upper bound).
- Extend the documentation.
ladanyi@675
     1
SET(LEMON_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include" CACHE PATH "LEMON include directory")
ladanyi@675
     2
SET(LEMON_INCLUDE_DIRS "${LEMON_INCLUDE_DIR}")
ladanyi@675
     3
ladanyi@675
     4
IF(UNIX)
ladanyi@675
     5
  SET(LEMON_LIB_NAME "libemon.a")
ladanyi@675
     6
ELSEIF(WIN32)
ladanyi@675
     7
  SET(LEMON_LIB_NAME "lemon.lib")
ladanyi@675
     8
ENDIF(UNIX)
ladanyi@675
     9
ladanyi@675
    10
SET(LEMON_LIBRARY "@CMAKE_INSTALL_PREFIX@/lib/${LEMON_LIB_NAME}" CACHE FILEPATH "LEMON library")
ladanyi@675
    11
SET(LEMON_LIBRARIES "${LEMON_LIBRARY}")
ladanyi@675
    12
ladanyi@675
    13
MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)