22 In this page we detail how to start using LEMON, from downloading it to |
22 In this page we detail how to start using LEMON, from downloading it to |
23 your computer, through the steps of installation, to showing a simple |
23 your computer, through the steps of installation, to showing a simple |
24 "Hello World" type program that already uses LEMON. We assume that you |
24 "Hello World" type program that already uses LEMON. We assume that you |
25 have a basic knowledge of your operating system and \c C++ programming |
25 have a basic knowledge of your operating system and \c C++ programming |
26 language. The procedure is pretty straightforward, but if you have any |
26 language. The procedure is pretty straightforward, but if you have any |
27 difficulties don't hesitate to <a href="mailto:etik-ol@cs.elte.hu">ask</a>. |
27 difficulties don't hesitate to |
|
28 <a href="mailto:lemon-user@lemon.cs.elte.hu">ask</a>. |
28 |
29 |
29 |
30 |
30 \section requirementsLEMON Hardware and software requirements |
31 \section requirementsLEMON Hardware and software requirements |
31 |
32 |
32 In LEMON we use C++ templates heavily, thus compilation takes a |
33 In LEMON we use C++ templates heavily, thus compilation takes a |
42 In this description we will suppose a Linux environment and GNU C++ Compiler. |
43 In this description we will suppose a Linux environment and GNU C++ Compiler. |
43 |
44 |
44 |
45 |
45 \subsection requirementsLP LP solver requirements |
46 \subsection requirementsLP LP solver requirements |
46 |
47 |
47 The LEMON LP solver interface can use the GLPK (GNU Linear Programming Kit) |
48 The LEMON LP solver interface can use the GLPK (GNU Linear Programming |
48 and CPLEX solvers (was tested with CPLEX 7.5). If you want to use it you will |
49 Kit) ,CPLEX (was tested with CPLEX 7.5) and SoPlex solver. If you want |
49 need at least one of these. See \ref configureFlags how to enable these at |
50 to use it you will need at least one of these. See \ref configureFlags |
50 compile time. |
51 how to enable these at compile time. |
51 |
52 |
52 |
53 |
53 \section downloadLEMON How to download LEMON |
54 \section downloadLEMON How to download LEMON |
54 |
55 |
55 You can download LEMON from the LEMON web site: |
56 You can download LEMON from the LEMON web site: |
56 http://lemon.cs.elte.hu/download.html . |
57 <a href="http://lemon.cs.elte.hu/site/products/"> |
|
58 http://lemon.cs.elte.hu/site/products/</a> . |
57 There you will find released versions in form of <tt>.tar.gz</tt> files. |
59 There you will find released versions in form of <tt>.tar.gz</tt> files. |
58 If you want a developer version (for example you want to contribute in |
60 If you want a developer version (for example you want to contribute in |
59 developing the library LEMON) then you might want to use our Subversion |
61 developing the library LEMON) then you might want to use our Subversion |
60 repository. This case is not detailed here, so from now on we suppose that |
62 repository. This case is not detailed here, so from now on we suppose that |
61 you downloaded a tar.gz file. |
63 you downloaded a tar.gz file. |
186 \verbatim |
188 \verbatim |
187 --without-cplex |
189 --without-cplex |
188 \endverbatim |
190 \endverbatim |
189 Disable CPLEX support. |
191 Disable CPLEX support. |
190 |
192 |
|
193 \verbatim |
|
194 --with-soplex[=PREFIX] |
|
195 \endverbatim |
|
196 Enable SoPlex support (default). You should specify the prefix too if |
|
197 you installed it to some non-standard location. If SoPlex is not |
|
198 found, then SoPlex support will be disabled. |
|
199 |
|
200 \verbatim |
|
201 --with-soplex-includedir=DIR |
|
202 \endverbatim |
|
203 The directory where the SoPlex header files are located. This is only useful |
|
204 when the SoPlex headers and libraries are not under the same prefix. |
|
205 |
|
206 \verbatim |
|
207 --with-soplex-libdir=DIR |
|
208 \endverbatim |
|
209 The directory where the SoPlex libraries are located. This is only useful when |
|
210 the SoPlex headers and libraries are not under the same prefix. |
|
211 |
|
212 \verbatim |
|
213 --without-soplex |
|
214 \endverbatim |
|
215 Disable SoPlex support. |
|
216 |
191 |
217 |
192 \section svnCheckout How to checkout LEMON form our Subversion repository |
218 \section svnCheckout How to checkout LEMON form our Subversion repository |
193 |
219 |
194 You can obtain the latest version of LEMON from our Subversion repository. To |
220 You can obtain the latest version of LEMON from our Subversion repository. To |
195 do this issue the following command: |
221 do this issue the following command: |
196 \verbatim |
222 \verbatim |
197 svn co https://lemon.cs.elte.hu/svn/hugo/trunk lemon |
223 svn co https://lemon.cs.elte.hu/svn/lemon/trunk lemon-src |
198 \endverbatim |
224 \endverbatim |
199 Use "lemon" as username, the password is empty. |
225 Use "lemon" as username, the password is empty. |
200 |
226 |
201 |
227 |
202 \section svnCompile How to compile the source from the repository |
228 \section svnCompile How to compile the source from the repository |
203 |
229 |
204 You can compile the code from the repository similarly to the packaged version, |
230 You can compile the code from the repository similarly to the packaged |
205 but you will need to run \c ./bootstrap before \c ./configure. See \c |
231 version, but you will need to run \c autoreconf \c -vi or |
206 ./bootstrap \c --help for options. For bootstrapping you will need the |
232 \c ./bootstrap in some older environment before \c ./configure. See \c |
|
233 ./configure \c --help for options. For bootstrapping you will need the |
207 following tools: |
234 following tools: |
208 |
235 |
209 - <a href="http://www.gnu.org/software/automake/">automake</a> (1.7 or newer) |
236 - <a href="http://www.gnu.org/software/automake/">automake</a> (1.7 or newer) |
210 - <a href="http://www.gnu.org/software/autoconf/">autoconf</a> (2.59 or newer) |
237 - <a href="http://www.gnu.org/software/autoconf/">autoconf</a> (2.59 or newer) |
211 - <a href="http://www.gnu.org/software/libtool/">libtool</a> |
238 - <a href="http://www.gnu.org/software/libtool/">libtool</a> |