This page present the LPditor. This editor is a simple LP editor, but it allows
plugin programming. Thus, with Modelib, it should be a powerfull tool to make some simple
manipulations on linear programs.
The integration of plugins is an idea of Christophe Duhamel (ISIMA).
Let's see what can it do now !
Editor features
- Syntax highligting of LP format
- A system to call the solver of the current LP, the solution is show in a HTML format file
What we project to add in the editor
- MPS importations
- Specify a XML-based file format (this idea comes from the development of multi-level linear programs)
Plugin specification
The plugin must be develop with Qt4 because we use the Qt specific plugin system
(QPluginLoader).
The interface of the plugin is implemented as follow:
/**
This class provide the interface of plugins
You can develop your plugins to make many modifications
of the current LP (given as a Model)
*/
class PluginInterface
{
public:
//! Virtual destructor
virtual ~PluginInterface() {};
//! Get the name of plugins (a plugin file can have many plugins)
virtual QStringList plugins() const = 0;
//! Return the model (it would modify the LP file)
virtual void setModel(Model *) = 0;
};
Distribution
You can download precompiled files for Windows and Linux in the
Modelib's download page.
Screenshort
First screenshot under the KDE environment
Sources
As LPditor is distribute under GPL licence, you can download sources here:
LPditor sources.
Authors and thanks
The authors really wants to thanks Christophe Duhamel for his ideas and support.