COIN-OR::LEMON - Graph Library

Version 2 (modified by Alpar Juttner, 14 years ago) (diff)

--

GSoC 2010 Project Ideas

PyLemon Module

mentor: Alpár Jüttner

Background

LEMON was written in C++, because this is the only widely used programming language that makes is possible to optimize the running time and memory usage of complex data-structures and algorithms to the extreme. However C++ is a rather complex language, which require deep knowledge of programming, and it's usage is many times complicated. Experimenting with and idea and prototyping solution can be much simpler in modern interpreted and dynamically linked languages. Python is a prominent member of these languages, being easy-to-learn, versatile and extremely productive. Python is also a highly extensible language, which allows programmers to create their own modules in C or C++.

The Task

The goal is to create a Python interface module to LEMON's data structures and algorithms (written in C++), thus combine the high efficiency of LEMON with the flexibility of Python.

You can find the pre-alpha version of this project in our repository: http://lime.cs.elte.hu/~alpar/hg/pylemon/

Application conditions

  • knowledge of C++ language
  • knowledge of Python language or have a tendency to learn it
  • basic knowledge of graph theory
  • English language knowledge

Benefits of participating

By taking part in this project, you can highly improve both your C++ and Python skills. In addition, understanding LEMON is a good opportunity to learn more about network modeling, graph algorithms and combinatorial optimization.

Multi thread support & thread safe graph maps

mentor: Alpár Jüttner

Background

Most LEMON data structures provides thread safety in the usual sense (i.e. they can be safely created in parallel and the read operation is also safe until no one tries to write it in the same time). There is however a very important exception - the default graph maps. The reason is that these data structures must register themselves at the underlying graph in order to be notified about the changes. For thread safety, a locking mechanism is necessary here to prevent race condition.

The Task

  • Develop a basic API for the most usual threading building blocks (such as mutex semaphore etc). It must be easy-to-use and should be usable on different platforms and with different threading library. Consider using existing open source library, but any external dependence must be optional
  • Implement a locking mechanism into the graph event notifiers.

Application conditions

  • knowledge of C++ language
  • English language knowledge

Benefits of participating

By taking part in this project, you can get familiar with the LEMON library, and principles of concurrent programming - a soon to be fundamental paradigm in practical operations research and optimization.

Cairo based graph visualization

mentor: Alpár Jüttner

Background

The Task

Application conditions

  • knowledge of C++ language
  • basic knowledge of graph theory
  • English language knowledge

Benefits of participating