readme.gz
来自「非常好,非常有名的求解线性规划和混合整型规划的源代码」· GZ 代码 · 共 50 行
GZ
50 行
Solver "lpsolve" is based on lp_solve, a simplex-based code for linearand integer programming problems by Michel Berkelaar michel@es.ele.tue.nlwhose source is ftp://ftp.es.ele.tue.nl/pub/lp_solve/lp_solve.tar.gzThe version of this source file that was available on 26 Feb. 2003is file lp_solve_4.0.tar.gz, which was released under the LGPL license(as explained in its README and LGPL.txt files). Some executable"lpsolve" binaries built from this source appear in the system-dependentsubdirectories of /netlib/ampl/student/solvers.The makefile assumes this has been unpacked in the current directory(solvers/lpsolve), giving subdirectory lp_solve_4.0 (or, for laterversions, a similarly named subdirectory, in which case you will needto adjust the "LPSOLVE =" line in the makefile accordingly).For a summary of using solver "lpsolve", execute lpsolve '-?'Lpsolve reads keywords and values from the environment (shell) variablelpsolve_options (known in an AMPL session as option lpsolve_options) andfrom the command line. Execute lpsolve -=for a summary of keywords that lpsolve recognizes.Here is a table of solve_result_num values that "lpsolve" can returnto an AMPL session, along with the text that appears in the associatedsolve_message. Value Message 0 optimal 200 infeasible 300 unbounded 500 bug 501 failure 502 integer programming failureQuestions about this stuff? Contact dmg@ampl.com (David M. Gay).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?