COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/athos/lp/lp_base.h @ 1246:925002e098e7

Last change on this file since 1246:925002e098e7 was 1246:925002e098e7, checked in by athos, 16 years ago

Csak a te kedvedert.

File size: 817 bytes
Line 
1// -*- c++ -*-
2#ifndef LEMON_LP_BASE_H
3#define LEMON_LP_BASE_H
4
5///\file
6///\brief The interface of the LP solver interface.
7namespace lemon {
8  class LpSolverBase {
9  protected:
10
11    //MATRIX MANIPULATING FUNCTIONS
12
13    /// \e
14    virtual int _addCol() = 0;
15    /// \e
16    virtual int _addRow() = 0;
17    /// \e
18    /// \warning Arrays are indexed from 1 (datum at index 0 is ignored)
19    virtual void _setRowCoeffs(int i,
20                               int  * &indices,
21                               double  * &doubles ) = 0;
22    /// \e
23    /// \warning Arrays are indexed from 1 (datum at index 0 is ignored)
24    virtual void _setColCoeffs(int i,
25                               int  * &indices,
26                               double  * &doubles ) = 0;
27   
28  } 
29
30} //namespace lemon
31
32#endif //LEMON_LP_BASE_H
Note: See TracBrowser for help on using the repository browser.