数学建模社区-数学中国

标题: linux下安装lingo问题(高手帮忙) [打印本页]

作者: Burgess    时间: 2009-3-26 16:59
标题: linux下安装lingo问题(高手帮忙)
我现在用的是Ubuntu8.10,想在系统上装个lingo 11.0,学习学习4 V, d: j% G- D, t" q( p
但是自己试几次,安装都不成功
8 v# @- r6 i4 f4 L& Q# _% d0 O  lingo 11.0 是从官方网上下载的,求的一注册码DJh@-#*7f-8iCA-RDTH-N8$M-syFW-SxfX-f$Sb-PhBo-KhLL-LEM9-pFKG-RdjZ-Hfez-K9wi-?t7&-zh$T-CTD9-fQTq-Zr6r-s@8c-i&g@-erMF-7g58-&#ie-2uXm-VwV8-8ea6-iCkJ-aL23-E4Qq-xj&%-br6a-$4Ui-XHom-?SEE-qPN9-UBFc-b#SU-jeCZ-5REv-?a3K-Zm*6
; q6 s$ d( Q, a- G' M
8 ~' O4 N3 g( S% e1 a" _  J7 o   那英文说明看到的有颠糊涂,没怎么看懂,详情高手帮忙
: l- x4 N# q2 k! B% v& H
4 |- \( B! X, o8 O$ nreadme2 q' f, a. p9 K& S1 W
文件内容如下::
8 L8 E' q/ z6 L* {1. Introduction2 R4 r- q3 _: m  F

! |6 }+ Z) {8 ]; x, M) K
3 Q1 }: }! _& C$ i
1 ?( i! V( U$ a! ~* V" XLINGO is a tool for utilizing the power of linear and nonlinear optimization to formulate large problems concisely, solve them, and analyze the solution. Optimization helps you find the answer that yields the best result; attains the highest profit, output, or happiness; or the one that achieves the lowest cost, waste, or discomfort. Often these problems involve making the most efficient use of your resources including money, time, machinery, staff, inventory, and more. Optimization problems are often classified as linear or nonlinear, depending on whether the relationships in the problem are linear with respect to the variables.
: f& r" i1 u' Y  G$ c' z& H7 f5 P! R# I; ]
8 O. N7 \! Z# j2 R6 H

5 o" Z4 l+ k2 X& c, P  @4 n0 d+ v
% T0 m& n& R9 P! W! ~8 |0 u& ^/ F! h, O  `

! u/ [# g8 a! I8 ~- O9 c( L% E/ o3 H! v6 b' a/ q
2. Installation
* z6 q* q; w5 j  a
& m! P# s9 k: |7 u8 E) N1 o - m) o4 `) g9 v8 H# d

$ Y) _: [" m* fThe current release of LINGO has the following directory structure
7 u3 V  Q! X1 U  C) r
; s* V  ]; Z- Y
: h2 O/ K- i7 S$ G
3 D, r* a$ @" R& e( |2 w       lingo11/                         ' Installation directory
3 p/ D6 O' V" w7 W7 L. X
! N1 K9 q$ P5 t! _       lingo11/bin/<PLATFORM>           ' Executables, dynamic libraries8 a4 u/ |; J* b6 ]0 f6 n& p
1 ^9 A. E0 y: g8 M8 J
       lingo11/doc                      ' User manual and documentation' k% Z1 z* \6 T- f3 O

; ?7 s  L0 o; [4 C9 d6 g# J* t       lingo11/license                  ' License files! Z4 [5 G% ?- E# k& |+ g" S  X
. P. r' F6 j' \: E3 T4 S
       lingo11/samples                  ' Sample models directory' c" D/ |" ~  @; G7 I4 h

' ~" n4 H4 Z( K       lingo11/programming_samples      ' Examples on calling LINGO from C, FORTRAN & Java; J! E5 W* U2 O# Z9 r
/ c- I# |" u/ L4 ^' @

7 H1 i* ^5 U: E. V* ^
1 b5 Q4 z* d: i
7 b8 j1 H: N0 n. |9 Q8 P7 \- W1 U' t

  y0 z* L$ x! I5 W
3 }* A6 ?' \# J/ T2 ~2.1. Windows Platforms: No specific installation procedure is required on Windows platforms.2 o2 M4 t( r/ x6 X8 i
) c- F3 u0 J9 A5 G5 v
& e& u; [/ L) `. S
# E" ]0 j: U/ l: v7 W8 [, V7 |
* W6 J! }/ w. l( L7 F

( z6 |. v' d" V, G# n. }9 E
1 \+ _, r4 ^* I8 F3 P2 g6 c& [% x; t: S+ L  {  A& W* T" @: r
2.2. Unix/Linux Platforms: Follow the steps below to complete the installation.
6 W5 N; @* q* e" O/ s2 [5 q( b! |$ N  B8 p" @0 D: e& c
; M* f& E- E' p" u% w0 P5 o

% O6 t" M! t2 ~+ T: |& ]Step 1. Go to lingo11/bin/<PLATFORM> binaries directory and make sure all the files are in executable mode. If they are not, you should change their mode by typing' g: ~9 R; R: G7 b( [! B$ Y. f

) l# M. {: d) W! c # |. M# F; w. k! f. p& f
- b7 P3 g$ o) n* {3 [, s$ ~! _
        %> chmod 755 *
1 n$ o5 I) W, H8 w" S# ]1 D/ v3 e4 q: E) b$ @2 w  I9 s  z
! Y' R* A6 C' K3 g8 o( x; m. N

: \  O5 g7 m) Y% Y% q, RStep 2. Update the $LD_LIBRARY_PATH environment variable. It is assumed that the installation directory is $HOME/lingo11.
8 U0 Y4 @/ U8 W# E9 w, ?/ n7 ]4 c' p# [$ J3 X4 G0 M4 \6 O: \& o

8 q4 z7 {/ _5 E5 N
  z# E/ y- w. }* M/ ]9 y- w        LD_LIBRARY_PATH=$HOME/lingo11/bin/<PLATFORM>:$LD_LIBRARY_PATH" e. K! b/ D& @( e2 ?

; X9 Z" u5 {' ^6 S. ^4 M7 R        export LD_LIBRARY_PATH
3 g- S, Q: |* v8 R
5 L$ ]% G' g4 Z" ?' Y / }0 }7 J( [% M" y" j
# z, U, J2 C: `/ s( v. Y  [' v2 ]
Step 3. Set the $LINGO_11_LICENSE_FILE environment variable to refer to the license file for your installation. For example, if your installation directory is $HOME/lingo11 and you have a 32-bit version of LINGO, then the environment variable should be set as
& U+ [, T7 y/ E: }) p5 \1 C) R4 a$ P% l4 X) U; j
0 R9 |$ j5 j  J- P1 D0 b! A" v. \& X" ?
& x; C8 z  J9 [! D( l
        LINGO_11_LICENSE_FILE=$HOME/lingo11/license/lndlng11.lic
' @" h4 a; Y* ]  i1 P1 }) }; I, t& S
        export LINGO_11_LICENSE_FILE
+ ]( i  {+ n- Y' B5 U* d( ^0 U8 E- `1 @; M7 t" w

9 [; m% O# v" x- J, X
) b+ z* q9 T% P) Xor, for 64-bit versions of LINGO do the following :
+ W6 d/ ?; W; }$ g% Q3 O# J
1 P6 E8 u/ a- p5 {# Q
( A$ O8 _* Q4 L! T% ]* L
8 c# B4 u  W  {4 x. p- C        LINGO64_11_LICENSE_FILE=$HOME/lingo11/license/lndlng64_11.lic
* z: q/ o$ n8 b1 s) {& `9 W& Q2 J  K3 I% L* D
        export LINGO64_11_LICENSE_FILE2 Y/ N: \1 ], R0 P% U
; T1 H$ g# a5 Z& |% S! v5 }

; k1 ^! _1 h. b; I- d$ t' c2 ]( A0 n* y3 T" |# \& ^$ }) p
Alternatively, you can execute the shell script lingo11/bin/<PLATFORM>/lingovars.sh to perform the required updates in these environment variables.
- ]& M" {( G0 E$ m! T, l7 X! _+ ~( {% h2 z# F

3 ]: `+ w5 r0 o; ?; k
$ ~! T" F4 Q8 D5 _To execute this script manually, enter the following at command line/ L' a; r* r0 `% r& F  Z/ ~; ]$ H

" x8 b4 O" M+ w& L$ n7 p' }) ]  
! d  |# C6 e9 Y% [8 F  p+ E3 F1 A4 }) ~6 x8 b  X: }. d6 ]9 c" Y  r
        source $HOME/lingo11/bin/<PLATFORM>/lingovars.sh' N3 n; V8 J' J2 B+ v' s" \
2 J* e- ^7 L5 T3 l7 o) G+ C

8 a5 {  J( _  S9 q
5 h6 ~7 J% C  S& `. ]Alternatively, to execute the script automatically at logon, append this line to the end of your startup script (.bashrc or .bash_profile for bash shell).  l8 d/ {6 O& M2 O' V5 X
$ j0 M* W  [4 h: Y- G( g8 V8 R7 `# b
" m: @; x: o  f/ k# R
+ w. A% G: Y+ U
Step 4. If you do not already have a valid LINGO license file and you wish to create a demo license, then go to the lingo11/license folder and run the create_demo_license script as follows:
% [6 E; \1 g; M8 A
. J; O  X& x) i" f- K% z
) R6 n+ H- H  Y, a+ X/ u% f0 m. ^4 y; a5 d5 a
        cd $HOME/lingo11/license
, @3 l8 c$ f3 a. s9 Y$ |& k  |! k/ h! `5 m: P
        source create_demo_license.sh
5 X6 r3 v$ _1 i# _8 A% n7 l1 O5 u" O* G1 e. s6 R- K, W! x6 A$ L

% ]. w% @: Z8 a$ c
* c3 e* d, n% Y5 d: I 7 j% b0 w- i+ h
$ }! q3 m; [; R
Step 4. You should now be able to run LINGO by going to the $HOME/lingo11/bin/<PLATFORM> folder and entering “lingo11” for 32-bit versions and ‘lingo64_11” for 64-bit versions.  If the LINGO_11_LICENSE_FILE or LINGO64_11_LICENSE_FILE environment variable is not set up correctly, you will receive the following error message every time you start LINGO.' @) g$ i8 k/ N  O! \1 |

0 _/ P( E$ A* t4 Q: v7 Y' ?1 s 5 ~+ [6 I& A2 ?) a8 l/ n" d

' w, C4 d% W" ^- - -
& A# ]1 M: N" l- A5 M
: _! u6 B2 S6 ~1 y) E( o% j: L        [Error Code: 171]
, V" C: K, ]* t3 Y  {* R. n5 v5 G
2 W9 O/ j9 x& ?% d/ }) C3 g& U " J& }: z* \" W; D4 W
1 u0 Y6 a+ f- {+ Y  A
        License key was not found or is invalid.. h  L2 k( T) Z- e: u- }& Y

8 |& i9 q8 E! N' {+ k- - -
- V# g" B- N" Z7 g$ c/ g2 r/ o4 N9 \+ z8 c* h4 ?

+ e, d' |1 }' K0 N* `- H  H& V0 f2 W0 }) r
Step 5. On Linux platforms, you may prefer to include the lingo11/bin/<PLATFORM> directory into the /etc/ld.so.conf file and then run ldconfig. This operation generally requires super user privileges. You may also update the $PATH environment variable accordingly to include the lingo11/bin/<PLATFORM> folder in the search path.: b- D4 r" U0 T' U" H; D
9 j6 z: M5 I- a. y6 b

* Z( a2 R0 P+ P" r- u5 T' P) k! |+ \# u. Z5 R8 P, r% l
NOTE: Unlike the Windows version of LINGO, which has a GUI front end, Unix/Linux versions are command-line applications.  All commands are typed into LINGO’s command-line prompt that begins with a colon character (:).  Available commands are discussed in detail in Chapter 6, Command-Line Commands, of the LINGO Users Manual.
& P: m- H" |. R7 J) m" q+ Y
' {4 L  Q6 p" d  T0 v1 X% w2 B) l ! y* p: }- ?$ R/ z
2 Q* _7 y4 v' z. g+ c; {' B

+ h! _9 i6 r; g, d) J. l4 A
1 z. x. b5 C2 S) D& { 7 N/ s! M3 c( V0 K" Q7 E

3 }" m- O2 X8 T. Y$ p3. License File0 j9 e3 A/ }( D! g2 ]

' V( L( D0 A7 d1 {+ V5 u
$ {1 i. q: J+ ~5 p: U4 U. S/ {* g, i' Y8 M2 S
In a default installation, the license file (lndlng11.lic or lndlng64_11.lic) is located in the lingo11/license directory.  If you do not currently have a valid LINGO license file, then you may create a demo license by following the instructions above.  The demo license allows full access to LINGO’s feature set, however with a limited model capacity.  n: g  ]( D; {' ?8 H
' c+ w0 v' s2 j0 B
$ t, c6 C" |8 D6 T) h
5 F! g  U( U- g% U! p
IMPORTANT: If you purchased a license and received it via email, you should update the license file in the lingo11/license folder with the license file you obtained from your sales representative. You should install the license file under the name lndlng11.lic for 32-bit versions and under name lndlng64_11.lic for 64-bit versions.  If you received a distribution CD, your license file will be pre-installed in the lingo11/license directory, and no additional steps will be required. Your license key is unique to your installation and contains information regarding your version's serial number, size, and supported options. Given that your license key is unique to your installation, you should not share it with any user not licensed to use your copy of the LINGO. q$ y7 i# X3 U0 e* e
: C# g# f1 D% H' M
还望高手指点!!!
作者: Burgess    时间: 2009-3-26 17:07
标题: linux下安装lingo问题(高手帮忙)
我现在用的是Ubuntu8.10,想在系统上装个lingo 11.0,学习学习
9 c6 x4 l: G# f* O4 Q但是自己试几次,安装都不成功
8 h- w$ _1 q. D2 F/ Z2 x  \/ W  lingo 11.0 是从官方网上下载的,求的一注册码DJh@-#*7f-8iCA-RDTH-N8$M-syFW-SxfX-f$Sb-PhBo-KhLL-LEM9-pFKG-RdjZ-Hfez-K9wi-?t7&-zh$T-CTD9-fQTq-Zr6r-s@8c-i&g@-erMF-7g58-&#ie-2uXm-VwV8-8ea6-iCkJ-aL23-E4Qq-xj&%-br6a-$4Ui-XHom-?SEE-qPN9-UBFc-b#SU-jeCZ-5REv-?a3K-Zm*6
* I$ W& K, ]- d$ |# z% c
8 C3 ^& c0 {; v, v   那英文说明看到的有颠糊涂,没怎么看懂,详情高手帮忙5 o  j7 i! m8 H/ w- _, j: q, u5 ~
1 N" Z2 n/ f% r
readme
6 G0 ~: C8 ~( C: @文件内容如下::' y, g% Y, ]" h. M0 ^
1. Introduction
( ]9 t4 L  o  _* ~7 y' f! a$ u( M& x' x# W' S7 G

' p; d: A8 _/ w. u; \6 z  [8 [& |; E  [- Z: ?: _1 c
LINGO is a tool for utilizing the power of linear and nonlinear optimization to formulate large problems concisely, solve them, and analyze the solution. Optimization helps you find the answer that yields the best result; attains the highest profit, output, or happiness; or the one that achieves the lowest cost, waste, or discomfort. Often these problems involve making the most efficient use of your resources including money, time, machinery, staff, inventory, and more. Optimization problems are often classified as linear or nonlinear, depending on whether the relationships in the problem are linear with respect to the variables.
: s% v. T1 ~8 a! q/ m5 q
6 ~+ s; U$ B: b4 a; S( v& ^# r. a
6 I5 {0 W' q: S7 U) S6 d( {8 h5 Z* E
: j, Z6 Q" _: @; C' M
& u2 A* _5 w3 |
2 k+ i* X; S2 }* I/ n

4 y: D( l% O& e: M. m2. Installation% D2 P5 d2 Y9 w' G5 B+ ~

; t7 W. A+ _4 g
0 q; ?9 _! }1 K6 Y, o+ D  E) M4 k' j, r
The current release of LINGO has the following directory structure . Y: U" G' I  K; }* R+ a$ V" ?

7 Q- E* l+ a, }7 w 3 K2 a# ?0 _5 B- ^, Q
2 _5 S" d' T( B) w) `* [* L
       lingo11/                         ' Installation directory0 y) E$ D& u( j$ ?
  Z0 l# x* W. V; U! P- D
       lingo11/bin/<LATFORM>           ' Executables, dynamic libraries
2 B1 F; \( W$ y- a( m( h9 i) ~7 P2 H+ ?1 t
       lingo11/doc                      ' User manual and documentation
0 K: {& z+ K# t* @" U2 n9 A3 ~! s' w+ l6 j3 i$ ^
       lingo11/license                  ' License files+ X1 S8 w3 |; w/ p% `* l6 r

4 Q2 p1 f/ z8 {& P. l" o- k       lingo11/samples                  ' Sample models directory! @' a" z" M2 F: Z4 ~
, H" P$ a4 a+ E1 Z* N% z$ `1 ?
       lingo11/programming_samples      ' Examples on calling LINGO from C, FORTRAN & Java
) _7 f. {2 P2 e
" A8 @: G& P8 R; c& G  F . G# ?7 V7 }9 {8 w6 `! w: V2 O
0 B- i2 V- E" M$ O" B
! Y* `6 U% F$ y6 k2 u9 q0 v5 b

, |) p# W  r: E% }6 _0 K: h
0 d2 \& o) L- J+ f- O0 R# b6 @7 F4 R" o. l, R
2.1. Windows Platforms: No specific installation procedure is required on Windows platforms.) f& E5 g; p( |1 G: a* o2 Q- V
/ u  c; G; ^3 O# j9 i; Z
6 v; `9 ^$ j8 o8 c: l% w  z

$ Y; a  U+ l4 H! q' f9 w( k
5 g8 e% n0 C+ v7 T2 r  o3 ?/ h3 W  R' G# [

0 O6 P% d- B7 e- b, e, H+ Y7 @( I
2.2. Unix/Linux Platforms: Follow the steps below to complete the installation.( A5 @2 [* C- ?: O! k9 ~

0 |0 u2 Q% S  @$ q% Q
$ r, s8 v0 W( _
" U6 O7 s! Q) C$ T/ m0 M# U& _Step 1. Go to lingo11/bin/<LATFORM> binaries directory and make sure all the files are in executable mode. If they are not, you should change their mode by typing5 [: S8 B. `. }/ b

) z4 w0 x7 c' `4 w+ R 1 @, T" [/ E: y1 w7 Z5 f2 s0 j4 [
! k! p5 h2 I" W
        %> chmod 755 *
8 q- ?6 d0 v% \7 r3 O
: Y$ o4 S0 X8 e1 j5 q1 B
( G! B! u9 |5 c, X- ~& j- Y' |# o- l- C; p3 Z6 {& K
Step 2. Update the $LD_LIBRARY_PATH environment variable. It is assumed that the installation directory is $HOME/lingo11.0 H; ~$ @$ p) l2 w1 P
/ ^! A* b' N9 p2 o1 ~* b4 h3 h

1 p* B1 v# U! R% s) y5 b6 Q- e7 w  f' ?2 ]$ g
        LD_LIBRARY_PATH=$HOME/lingo11/bin/<LATFORM>LD_LIBRARY_PATH8 ~- r& J: l$ C  g
) p# M6 p1 o! r& R  i/ g
        export LD_LIBRARY_PATH% ^* K( P- P7 c) W4 E
  v/ ], O5 W: q) ^1 O, u

8 }  h( p2 ^& W) [0 s* f
9 T0 o- L/ r- H( i7 f* r+ k+ l1 O& b+ DStep 3. Set the $LINGO_11_LICENSE_FILE environment variable to refer to the license file for your installation. For example, if your installation directory is $HOME/lingo11 and you have a 32-bit version of LINGO, then the environment variable should be set as, T5 Z8 m' q; y  p3 S+ A
# f2 o! X5 |, e7 p# N0 B

7 m6 X( ?: h0 \5 j
. a) r' [2 A, |7 x        LINGO_11_LICENSE_FILE=$HOME/lingo11/license/lndlng11.lic
  w$ x! d2 s2 X+ V8 M: o, |) \/ {' Q# M9 n- c. N5 }& O( S
        export LINGO_11_LICENSE_FILE0 v/ \" K" T- b3 u( b* K; P

$ P5 P  s% J/ ~ ( Y0 c6 J. K, v

5 Y$ i% [! C5 p8 `) nor, for 64-bit versions of LINGO do the following :! {0 R9 t( x8 B$ [1 S
% r' h% k# g" u3 ^/ J, [8 H) ^7 \

8 l( b" v( n/ T1 {$ c  u
% w( D( t. ?# j" g$ }9 s8 `2 [/ C        LINGO64_11_LICENSE_FILE=$HOME/lingo11/license/lndlng64_11.lic. t3 R% Q9 ~% o4 z, p

" t) g; M- _# |- L        export LINGO64_11_LICENSE_FILE
% g. L6 m. S2 y4 P! A
/ s, H, Z5 `" f6 f5 v" a: e % W+ {3 n4 J% L: M

0 e; D5 U' I) M& e) W2 B) M: J) u3 mAlternatively, you can execute the shell script lingo11/bin/<LATFORM>/lingovars.sh to perform the required updates in these environment variables.
* a) o7 q! V+ x5 _7 ]7 X) n" I8 Q+ e5 e: S4 f
& t% U+ @$ S' W' t$ H( U" W' }
) E' W, a! J9 V, y7 S: F
To execute this script manually, enter the following at command line; _" b. ?- P$ b0 Q; l! e) c: f4 r
$ i/ ?5 C! v5 N0 W/ N
  
* g( ]: G; h8 h  G( o( I' s- z' t0 E: ^' x  u1 c
        source $HOME/lingo11/bin/<LATFORM>/lingovars.sh2 U7 v% I/ a2 y5 ]

7 K" Y+ `7 z: Y" {, t
1 x+ Z! @" b& i+ m9 g9 {: F2 o! O: g* _) h0 L
Alternatively, to execute the script automatically at logon, append this line to the end of your startup script (.bashrc or .bash_profile for bash shell).& V! u  o3 N6 e# E9 C  [" f
, W* X9 |5 d' W) Q
( u5 q! G6 F* }; \% h9 \  Z3 R
( ?) H# @8 q  ~1 d" G/ ]3 d" C
Step 4. If you do not already have a valid LINGO license file and you wish to create a demo license, then go to the lingo11/license folder and run the create_demo_license script as follows:
" q2 n( Y6 X$ A( V. |
) Z0 x& T2 p4 P7 E) m& c6 s; o! ~
' F8 e2 ^. @0 i& @0 N
* ]/ {8 H  j( |, f0 V- M        cd $HOME/lingo11/license, l+ h0 g, {6 d  h4 y( y$ n0 p$ q

7 e" Q; z2 @7 D5 o$ l( e        source create_demo_license.sh
( e; i/ e+ f6 c8 s1 e( D( Y) j" z0 X" |8 k9 R+ |

' ^7 H: V$ S  A2 ~& `" M4 e$ N- z$ q/ B' v" u7 w4 e4 y

  f/ j; o( E' F7 m
$ ?% [  `( ?, t8 Y% ~/ S: @Step 4. You should now be able to run LINGO by going to the $HOME/lingo11/bin/<LATFORM> folder and entering “lingo11” for 32-bit versions and ‘lingo64_11” for 64-bit versions.  If the LINGO_11_LICENSE_FILE or LINGO64_11_LICENSE_FILE environment variable is not set up correctly, you will receive the following error message every time you start LINGO.
  ?: s% d# s; n5 c( c3 p' q
: C0 |' w. ]9 v  n$ h9 T* C   I& v9 e" {1 k6 X
3 h/ s: {# `+ }' I# `* b
- - -
. K5 b: e$ b) d3 H
. Y; _3 s7 A. r        [Error Code: 171]" Y# e4 P2 r: o# r7 G

$ b/ }3 r0 Y' O# o- |2 i* i $ w* ?3 o; [( T9 K' D: x
5 b# m3 ~  A/ I1 `# j7 |" ]
        License key was not found or is invalid.& y! J$ V8 Z1 z* J1 O) j% z4 M
0 ~( x* @# p# o
- - -
9 k% t5 |  t7 `2 @
" ]( U, P6 L1 S2 }9 G" o& n9 N
# [% m- C  V  q1 _' b
- i1 Z  c$ _9 u) A- Z" mStep 5. On Linux platforms, you may prefer to include the lingo11/bin/<LATFORM> directory into the /etc/ld.so.conf file and then run ldconfig. This operation generally requires super user privileges. You may also update the $PATH environment variable accordingly to include the lingo11/bin/<LATFORM> folder in the search path.
! v1 J4 X$ N9 X/ B
! S7 g- |4 x- ]
6 p9 t) X3 C  K5 N, q4 t' P4 M$ z9 |2 s. c! w1 N
NOTE: Unlike the Windows version of LINGO, which has a GUI front end, Unix/Linux versions are command-line applications.  All commands are typed into LINGO’s command-line prompt that begins with a colon character (.  Available commands are discussed in detail in Chapter 6, Command-Line Commands, of the LINGO Users Manual." o' w/ i: T/ E( @- D  {
+ X; S& b- g2 x' i. P. \( V- }2 K
& I: S/ @7 S$ D9 e

) Z' k- K. v1 V( W; g ' Y  A4 r; M4 j
1 s5 k) y1 Q7 H1 K5 p
5 R$ u$ U" H# N( N

+ x8 i, _2 u0 @; \5 s# l3. License File! ]! A8 f) T( D- Q, l0 k
" b0 e' h' t7 \  _+ T2 ^

* F3 p4 ]1 S; \9 k1 C$ e8 l8 c, O2 V8 y7 h
In a default installation, the license file (lndlng11.lic or lndlng64_11.lic) is located in the lingo11/license directory.  If you do not currently have a valid LINGO license file, then you may create a demo license by following the instructions above.  The demo license allows full access to LINGO’s feature set, however with a limited model capacity.
& i- `$ I6 c, _$ A# k8 t+ C! A8 l5 s# A
1 _+ a9 L) O( k/ M8 W7 P

9 A% O& c1 l! P& P# F1 P! {IMPORTANT: If you purchased a license and received it via email, you should update the license file in the lingo11/license folder with the license file you obtained from your sales representative. You should install the license file under the name lndlng11.lic for 32-bit versions and under name lndlng64_11.lic for 64-bit versions.  If you received a distribution CD, your license file will be pre-installed in the lingo11/license directory, and no additional steps will be required. Your license key is unique to your installation and contains information regarding your version's serial number, size, and supported options. Given that your license key is unique to your installation, you should not share it with any user not licensed to use your copy of the LINGO6 L9 v( x0 b2 w8 u
- \( u8 x. \" q
还望高手指点!!!
作者: Burgess    时间: 2009-3-27 13:51
: L$ |% {8 {3 {1 F

& R; N5 h0 U* ?8 U咋么高寿不帮忙啊
作者: piaolingxue    时间: 2009-4-13 22:48
1.首先从官方网站上download一个demo版的lingo软件  L" Z2 q- r4 c/ _2 W6 Z" Z
   官网软件包下载地址:http://www.hearne.com.au/products/lingo/demos/381/
" |* Y0 Z2 l% @9 n9 {8 K( d2.下载的是一个压缩包,将其拷贝到/home/下
8 h- z1 _0 I: p- a, h$ H3.打开终端切换到/home输入:tar -xvf LINGO-LINUX-IA32-11.0.tar.tar
2 E3 u3 |( t9 H9 M2 ]* m4.更新环境变量,在终端输入:LD_LIBRARY_PATH=/home/lingo11/bin/linux32/LD_LIBRARY_PATH     
5 r; n: E% ~& `5.输入:export LD_LIBRARY_PATH5 Z3 Q2 P4 I/ s: Q8 p6 S" p
6.设置$LINGO_11_LICENSE_FILE environment variable环境变量,在终端输    入:LINGO_11_LICENSE_FILE=/home/lingo11/license/lndlng11_demo.lic
7 {( Q+ {- d. T& g- p7.输入:export LINGO_11_LICENSE_FILE, C8 T, X% u/ J" `" V4 S$ O8 }
8.手工执行shell脚本:$HOME/lingo11/bin/lingo11/lingovars.sh4 |' h- c  b  d0 n9 |
9. 进入/lingo11/目录输入:cd license
+ ?5 r1 L( v. u2 D+ _* O* H10.输入: ./create_demo_license.sh
( f/ o  o$ J% g4 B5 x. Y. LOK ! 大功告成,现在可以进入目录$HOME/lingo11/bin/lingo11/运行ling11了!!!
作者: kenstorm    时间: 2009-4-14 01:20
没装过,纯粹来要钱的
作者: yyj4968    时间: 2009-4-26 14:13
看不懂 太复杂看 啊
作者: olivercmz    时间: 2009-6-14 21:00
嗯, 如果您不介意的话就用wine一下lingo10 for windows吧, 这个我试过的, 完成可以运行, 运行效率和windows server 2008下比差不多, 大概是9%左右的效率损失.' x# F2 u, _. _- y; T$ f
PS: 那个序列号是什么版本的啊? 嘿嘿~
作者: victzhang    时间: 2009-9-8 21:18
在linux下运行lingo没那么复杂,照我的方法做:
' B* \1 ^) E6 w1、到http://download.csdn.net/source/1644337下载linux下的lingo 11破解版
! ^. S4 A. t6 q9 X( H2、把压缩包中的lingo11文件夹解压到你的用户的主文件夹,一般root用户是/root,其他用户是/home/username
1 u2 A6 K9 O) N3、执行如下指令& ], g, P& v) x& [+ P
cd ~
& m/ o7 d. k" v8 N1 I! ?) X! S1 xcd lingo11* p" F! s# H! e+ I
cd bin
- L" _. v6 P- F4 J2 i, Z  e. Acd linux32
1 M, i  P' c4 S! `4 p) |$ ?4 pchmod 755 *# p: y0 g7 I4 b* n- v5 E
LD_LIBRARY_PATH=$HOME/lingo11/bin/linux32LD_LIBRARY_PATH
3 ^8 h) m! G- ?$ A+ lexport LD_LIBRARY_PATH
( I- x* ?+ I; K3 J+ G! l, G6 N" p# vLINGO_11_LICENSE_FILE=$HOME/lingo11/license/lndlng11.lic& Z8 Z: \8 L! D2 y5 `: C2 k
export LINGO_11_LICENSE_FILE
; F4 z1 C7 a# o  x  F; G( h0 wldconfig/ u3 T' m$ l% d8 Q. ^1 ?
./lingo11
' f) n( f) a& J' p' C1 }& R4、如果还是提示找不到链接库(如liblindo.so.5.0),这样解决! m" H4 X" s4 I% [5 a6 V5 G% z
cd ~8 F% W$ I5 i6 C$ H! s: T  H
cd lingo11
( i  m5 o0 }/ c+ m* y( ycd bin
4 x5 z, a* ]/ K- Ccd linux32
" }# }7 f' y0 D6 h6 j1 U* |cp *.so* /usr/local/lib7 [$ b  a: y) r
ldconfig7 I* R6 \/ t, S+ M7 S
./lingo11' x$ v8 Q7 ?1 e1 b0 ]) ~& p4 D! x9 k

' D; ?# x) g0 l( j9 C0 n如果可能的话,尽量不要用wine
作者: lwxmath    时间: 2011-2-16 14:30
为什么我的不行呢?老提示:2 N- K* L6 ]- m: V5 }" o) N) |0 z
lwx@ubuntu:~/lingo11/bin/linux32$ ./lingo113 Z" N8 L0 ^7 g+ y" m
./lingo11: error while loading shared libraries: liblindo.so.5.0: cannot open shared object file: No such file or directory2 q, n6 {8 Q% G1 k, ]# ?+ M

作者: lwxmath    时间: 2011-2-16 16:45
已经解决了,谢谢~~貌似不是破解版的吧,连10000个变量,10000个约束的都解决不了




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5