Wikipedia

LEMON (C++ library)

LEMON
Initial releaseSeptember 30, 2004
Stable release
1.3.1 / July 7, 2014 (2014-07-07)
Repository Edit this at Wikidata
Written inC++
Operating systemCross-platform
Platformgcc, icc, Visual Studio, xlC
TypeGraph and Network Optimization Library
LicenseFree software (Boost license)
Websitehttp://lemon.cs.elte.hu

LEMON is an open source graph library written in the C++ language providing implementations of common data structures and algorithms with focus on combinatorial optimization tasks connected mainly with graphs and networks. The library is part of the COIN-OR project.

LEMON is an abbreviation of Library for Efficient Modeling and Optimization in Networks.

Design

LEMON employs genericity in C++ by using templates. The tools of the library are designed to be versatile, convenient and highly efficient. They can be combined easily to solve complex real-life optimization problems. For example, LEMON’s graphs can differ in many ways (depending on the representation and other specialities), but all have to satisfy one or more graph concepts, which are standardized interfaces to work with the rest of the library.

Features

LEMON provides

  • Graph structures and related tools
  • Graph search algorithms
  • Shortest path algorithms
  • Maximum flow algorithms
  • Minimum cost flow algorithms
  • Minimum cut algorithms
  • Connectivity and other graph properties
  • Maximum cardinality and minimum cost perfect matching algorithms
  • Minimum cost spanning tree algorithms
  • Approximation algorithms
  • Auxiliary algorithms

LEMON also contains some metaheuristic optimization tools and provides a general high-level interface for several LP and MIP solvers, such as GLPK, ILOG CPLEX, CLP, CBC, SoPlex.

LEMON has its own graph storing format, the so called Lemon Graph Format and includes general EPS drawing methods and special graph exporting tools.

LEMON also includes several miscellaneous tools. For example, it provides simple tools for measuring the performance of algorithms, which can be used to compare different implementations of the same problem.

External links

LEMON webpage:

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.