Giter VIP home page Giter VIP logo

cs2's Introduction

CS2 is the second version of scaling algorithm for minimum-cost
flow problems. For more detailed description, see "An
Efficient Implementation of a Scaling Minimum-Cost Flow Algorithm" by
A.V. Goldberg, J. Algorithms, Vol. 22 (1997), pp. 1--29.

The program is designed to run under BSD UNIX.
The program reads from the standard input and writes to the standard
output. Edit makefile to set desirable compiler options.
Then run "make" to compile the program. Program name is "cs2".

The program can also me compiled under some versions of 
Microsoft Visual Studio using the following command line:
cl.exe /O2 /DWINDOWS_TIMER cs2.c

The program takes input in DIMACS format. The input is either a 
transportation or a minimum-cost circulation vertion of the minimum-cost
flow problem.

Parameters: If no parameters are given, default values are used.
There is one optional parameter, scale factor, which must be an integer.
The default value if SCALE_DEFAULT. Changing this parameter may
affect performance.

The "cs2" procedure computes an flow after parsing.

The "cs2_cost_restart" recomputes an optimal flow; it is designed for
use if costs changed after an optimal flow and the corresponding
price function has been found.

CS2 was developed by Andrew Goldberg ([email protected]) and
Boris Cherkassky ([email protected]).

The program is available on "as is" basis. It is not guaranteed to
be free of bugs, and the authors assume no responsibility for any
potential problems. See COPYRIGHT.

cs2's People

Contributors

iveney avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.