LICENSE
author Peter Kovacs <kpeter@inf.elte.hu>
Wed, 29 Apr 2009 03:15:24 +0200
changeset 640 6c408d864fa1
parent 440 88ed40ad0d4f
parent 495 0f40b9d26049
child 879 38213abd2911
permissions -rw-r--r--
Support negative costs and bounds in NetworkSimplex (#270)

* The interface is reworked to support negative costs and bounds.
- ProblemType and problemType() are renamed to
SupplyType and supplyType(), see also #234.
- ProblemType type is introduced similarly to the LP interface.
- 'bool run()' is replaced by 'ProblemType run()' to handle
unbounded problem instances, as well.
- Add INF public member constant similarly to the LP interface.
* Remove capacityMap() and boundMaps(), see also #266.
* Update the problem definition in the MCF module.
* Remove the usage of Circulation (and adaptors) for checking feasibility.
Check feasibility by examining the artifical arcs instead (after solving
the problem).
* Additional check for unbounded negative cycles found during the
algorithm (it is possible now, since negative costs are allowed).
* Fix in the constructor (the value types needn't be integer any more),
see also #254.
* Improve and extend the doc.
* Rework the test file and add test cases for negative costs and bounds.
alpar@495
     1
LEMON code without an explicit copyright notice is covered by the following
alpar@5
     2
copyright/license.
alpar@5
     3
alpar@440
     4
Copyright (C) 2003-2009 Egervary Jeno Kombinatorikus Optimalizalasi
alpar@5
     5
Kutatocsoport (Egervary Combinatorial Optimization Research Group,
alpar@5
     6
EGRES).
alpar@5
     7
alpar@495
     8
===========================================================================
alpar@495
     9
Boost Software License, Version 1.0
alpar@495
    10
===========================================================================
alpar@495
    11
alpar@5
    12
Permission is hereby granted, free of charge, to any person or organization
alpar@5
    13
obtaining a copy of the software and accompanying documentation covered by
alpar@5
    14
this license (the "Software") to use, reproduce, display, distribute,
alpar@5
    15
execute, and transmit the Software, and to prepare derivative works of the
alpar@5
    16
Software, and to permit third-parties to whom the Software is furnished to
alpar@5
    17
do so, all subject to the following:
alpar@5
    18
alpar@5
    19
The copyright notices in the Software and this entire statement, including
alpar@5
    20
the above license grant, this restriction and the following disclaimer,
alpar@5
    21
must be included in all copies of the Software, in whole or in part, and
alpar@5
    22
all derivative works of the Software, unless such copies or derivative
alpar@5
    23
works are solely in the form of machine-executable object code generated by
alpar@5
    24
a source language processor.
alpar@5
    25
alpar@5
    26
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
alpar@5
    27
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
alpar@5
    28
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
alpar@5
    29
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
alpar@5
    30
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
alpar@5
    31
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
alpar@5
    32
DEALINGS IN THE SOFTWARE.