debian/0000755000000000000000000000000012256053300007162 5ustar debian/rules0000755000000000000000000000450711306042205010245 0ustar #!/usr/bin/make -f #-*- makefile -*- # Made with the aid of dh_make, by Craig Small # GNU copyright 1997 by Joey Hess. # Some lines taken from debmake, by Christoph Lameter. # Copyright (C) 2004-2005 Anibal Monsalve Salazar . # Copyright (C) 2005 Juan Esteban Monsalve Tobon . # Copyright (C) 2006-2009 Rene Engelhard # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-stamp: dh_testdir cd lpsolve55 && bash -x -e ccc cd lp_solve && bash -x -e ccc touch build-stamp clean: dh_testdir dh_testroot cd lpsolve55 && rm -f *.o && rm -f liblpsolve55* cd lp_solve && rm -f *.o && rm -f lp_solve rm -f build-stamp install-stamp dh_clean install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs install -D -m 755 lp_solve/lp_solve debian/lp-solve/usr/bin/lp_solve install -D -m 644 lpsolve55/liblpsolve55.a debian/liblpsolve55-dev/usr/lib/liblpsolve55.a install -m 644 lpsolve55/liblpsolve55_pic.a debian/liblpsolve55-dev/usr/lib/liblpsolve55_pic.a install -D -m 644 lpsolve55/liblpsolve55.so debian/lp-solve/usr/lib/lp_solve/liblpsolve55.so install -d debian/liblpsolve55-dev/usr/include/lpsolve for x in lp_*.h; do \ install -m 644 $$x debian/liblpsolve55-dev/usr/include/lpsolve/$$x; \ done install -m 644 shared/*.h debian/liblpsolve55-dev/usr/include/lpsolve/ touch install-stamp binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installdocs README.txt dh_installdocs -plp-solve-doc docs/5.5/* dh_installexamples -pliblpsolve55-dev demo/demo.c # the additional gifs and jpgs were not included due to diff.gz reasons. Link to # online copies for i in `find debian/lp-solve-doc/usr/share/doc/lp-solve-doc -name "*.htm*"`; do \ perl -pi -e 's,src=\",src=\"http://lpsolve.sourceforge.net/5.5/,g' $$i; \ done dh_installmenu dh_installcron dh_installmanpages dh_installinfo dh_installchangelogs dh_link dh_strip dh_compress -X demo.c dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/README.Debian0000644000000000000000000000163211306036626011234 0ustar lp-solve for Debian ---------------------- This package supplies lp_solve, a standalone program for solving linear programming problems. The lp_solve sources also build a library (liblpsolve55) which can be called from C programs to solve linear programming problems. Header files are installed in /usr/include/lpsolve/. See /usr/share/doc/liblpsolve55-dev/examples/demo.c.gzfor an example. No shared library is provided, since a dynamically linked program would be slower than a statically linked program. Linear programming problems (but not integer linear programming problems) can also be solved with the program PCx. PCx is available in the Debian package pcx, in non-free/math. The Debian package is fixed to use libcolamd from the system instead of including an own one. If you want to link liblpsolve55.a statically into your project you also might need -lcolamd (and therefore libsuitesparse-dev). -- debian/copyright0000644000000000000000000000741311306036626011131 0ustar This package is currently maintained by Juan Esteban Monsalve Tobon . It was created by James R. Van Zandt on Thu, 21 Oct 1999 20:55:33 -0400. The home page of the upstream package is: http://www.geocities.com/lpsolve/ It was downloaded from ftp://ftp.ics.ele.tue.nl/pub/lp_solve/ It can be downloaded from: http://groups.yahoo.com/group/lp_solve/files/Version4/ Upstream Authors: Michel Berkelaar Jeroen Dirks Kjell Eikland Peter Notebaert Copyright: bfp/bfp_LUSOL/LUSOL/hbio.c: /* Harwell-Boeing File I/O in C V. 1.0 National Institute of Standards and Technology, MD. K.A. Remington ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NOTICE Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation. Neither the Author nor the Institution (National Institute of Standards and Technology) make any representations about the suitability of this software for any purpose. This software is provided "as is" without expressed or implied warranty. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ colamd/colamd.c: Copyright (c) 1998-2001 by the University of Florida. All Rights Reserved. THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK. Permission is hereby granted to use or copy this program for any purpose, provided the above notices are retained on all copies. User documentation of any code that uses this code must cite the Authors, the Copyright, and "Used by permission." If this code is accessible from within Matlab, then typing "help colamd" and "help symamd" must cite the Authors. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. You must also retain the Availability information below, of the original version. This software is provided free of charge. lp_rlp.c: /* This file comes from bison-1.28. */ /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ lp_solve itself is LGPL. On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL' debian/NEWS0000644000000000000000000000151111306036626007666 0ustar lp-solve (5.5-1) unstable; urgency=low * From upstreams README.txt: "Note that lp2mps and mps2lp don't exist anymore. However this functionality is now implemented in lp_solve: lp2mps can be simulated as following: lp_solve -parse_only -lp infile -wmps outfile mps2lp can be simulated as following: lp_solve -parse_only -mps infile -wlp outfile" Please adapt as necessary. * The library has been split out into liblpsove55-dev (and has changed the name upstream to liblpsolve55.a). The includes moved to /usr/include/lpsolve * The library has been fixed to build with the libcolamd from libufsparse instead of shipping an own version. You might need to use -lcolamd in addition (and install libufsparse-dev) -- Rene Engelhard Fri, 16 Jun 2006 14:23:55 +0200 debian/source/0000755000000000000000000000000011306036716010471 5ustar debian/source/format0000644000000000000000000000001411306036716011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011306040063010606 5ustar debian/patches/07_fix_xli_CPLEX-segfault0000644000000000000000000000243511306037401015252 0ustar Description: Upstream changes introduced in version 5.5.0.13-7 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . lp-solve (5.5.0.13-7) unstable; urgency=low . * move to "3.0 (quilt)" format . The person named in the Author field signed this changelog entry. Author: Rene Engelhard --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- lp-solve-5.5.0.13.orig/lp_matrix.c +++ lp-solve-5.5.0.13/lp_matrix.c @@ -1404,7 +1404,7 @@ STATIC int mat_appendrow(MATrec *mat, in return( 0 ); } /* else if((row != NULL) && !mat->is_roworder) */ - else if(!isNZ && (row != NULL) && !mat->is_roworder) + else if(!isNZ && !mat->is_roworder) row[0] = 0; /* Capture OF definition in row mode */ debian/patches/03_system_colamd0000644000000000000000000001424511306036626013716 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 03_system_colamd.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lp-solve-5.5.0.10~/demo/ccc lp-solve-5.5.0.10/demo/ccc --- lp-solve-5.5.0.10~/demo/ccc 2007-01-22 03:24:19.000000000 +0100 +++ lp-solve-5.5.0.10/demo/ccc 2007-01-22 03:24:43.000000000 +0100 @@ -1,4 +1,4 @@ -src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' +src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' c=cc math=-lm @@ -12,4 +12,4 @@ opts='-O3' -$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine demo.c $src -o demo $math $dl +$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine demo.c $src -o demo $math $dl -lcolamd diff -urNad lp-solve-5.5.0.10~/lp_solve/ccc lp-solve-5.5.0.10/lp_solve/ccc --- lp-solve-5.5.0.10~/lp_solve/ccc 2007-01-22 03:24:19.000000000 +0100 +++ lp-solve-5.5.0.10/lp_solve/ccc 2007-01-22 03:24:43.000000000 +0100 @@ -1,4 +1,4 @@ -src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' +src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' c=cc math=-lm @@ -14,4 +14,4 @@ fi -$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl +$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl -lcolamd diff -urNad lp-solve-5.5.0.10~/lpsolve55/ccc lp-solve-5.5.0.10/lpsolve55/ccc --- lp-solve-5.5.0.10~/lpsolve55/ccc 2007-01-22 03:24:40.000000000 +0100 +++ lp-solve-5.5.0.10/lpsolve55/ccc 2007-01-22 03:24:43.000000000 +0100 @@ -1,4 +1,4 @@ -src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' +src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' c=cc def= @@ -12,17 +12,17 @@ opts='-O3' -$c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +$c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -Wl,-Bstatic -lcolamd ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` ranlib liblpsolve55.a -$c -s -fPIC -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +$c -s -fPIC -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -Wl,-Bstatic -lcolamd ar rv liblpsolve55_pic.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` ranlib liblpsolve55_pic.a if [ "$so" != "" ] then - $c -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src - $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -ldl + $c -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src + $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -ldl -lcolamd fi rm *.o 2>/dev/null debian/patches/02_fPIC0000644000000000000000000000311111306036626011621 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 02_fPIC.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lp-solve-5.5.0.10~/lpsolve55/ccc lp-solve-5.5.0.10/lpsolve55/ccc --- lp-solve-5.5.0.10~/lpsolve55/ccc 2007-10-18 00:28:08.000000000 +0200 +++ lp-solve-5.5.0.10/lpsolve55/ccc 2007-10-18 00:31:02.000000000 +0200 @@ -15,10 +15,13 @@ $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` ranlib liblpsolve55.a +$c -s -fPIC -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src +ar rv liblpsolve55_pic.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` +ranlib liblpsolve55_pic.a if [ "$so" != "" ] then - $c -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src + $c -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -ldl fi debian/patches/04_link_to_shared_lib0000644000000000000000000000514411306036626014665 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 03_lp-solve_link_shared.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lp-solve-5.5.0.10~/demo/ccc lp-solve-5.5.0.10/demo/ccc --- lp-solve-5.5.0.10~/demo/ccc 2007-01-22 03:06:09.000000000 +0100 +++ lp-solve-5.5.0.10/demo/ccc 2007-01-22 03:06:32.000000000 +0100 @@ -1,4 +1,3 @@ -src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' c=cc math=-lm @@ -12,4 +11,4 @@ opts='-O3' -$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine demo.c $src -o demo $math $dl -lcolamd +$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine demo.c -o demo $math $dl -lcolamd -L../lpsolve55 -llpsolve55 -Wl,-rpath=/usr/lib/lp_solve diff -urNad lp-solve-5.5.0.10~/lp_solve/ccc lp-solve-5.5.0.10/lp_solve/ccc --- lp-solve-5.5.0.10~/lp_solve/ccc 2007-01-22 03:06:09.000000000 +0100 +++ lp-solve-5.5.0.10/lp_solve/ccc 2007-01-22 03:06:11.000000000 +0100 @@ -1,4 +1,4 @@ -src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' +src='lp_solve.c' c=cc math=-lm @@ -14,4 +14,4 @@ fi -$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl -lcolamd +$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl -lcolamd -L../lpsolve55 -llpsolve55 -Wl,-rpath=/usr/lib/lp_solve debian/patches/series0000644000000000000000000000011711306040063012022 0ustar 02_fPIC 03_system_colamd 04_link_to_shared_lib 06_O2 07_fix_xli_CPLEX-segfault debian/patches/06_O20000644000000000000000000000317111306036626011332 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 06_O2.dpatch by Rene Engelhard ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad lp-solve-5.5.0.10~/demo/ccc lp-solve-5.5.0.10/demo/ccc --- lp-solve-5.5.0.10~/demo/ccc 2007-09-10 13:16:57.000000000 +0200 +++ lp-solve-5.5.0.10/demo/ccc 2007-09-10 13:17:35.000000000 +0200 @@ -9,6 +9,6 @@ else dl=-ldl fi -opts='-O3' +opts='-O2' $c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine demo.c -o demo $math $dl -lcolamd -L../lpsolve55 -llpsolve55 -Wl,-rpath=/usr/lib/lp_solve diff -urNad lp-solve-5.5.0.10~/lp_solve/ccc lp-solve-5.5.0.10/lp_solve/ccc --- lp-solve-5.5.0.10~/lp_solve/ccc 2007-09-10 13:16:57.000000000 +0200 +++ lp-solve-5.5.0.10/lp_solve/ccc 2007-09-10 13:17:28.000000000 +0200 @@ -3,7 +3,7 @@ math=-lm -opts='-O3' +opts='-O2' def= if [ "$PLATFORM" = "SCO_UNIX" ] diff -urNad lp-solve-5.5.0.10~/lpsolve55/ccc lp-solve-5.5.0.10/lpsolve55/ccc --- lp-solve-5.5.0.10~/lpsolve55/ccc 2007-09-10 13:16:57.000000000 +0200 +++ lp-solve-5.5.0.10/lpsolve55/ccc 2007-09-10 13:17:17.000000000 +0200 @@ -10,7 +10,7 @@ so=y fi -opts='-O3' +opts='-O2' $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I/usr/include/suitesparse $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -Wl,-Bstatic -lcolamd ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` debian/compat0000644000000000000000000000000211306036626010367 0ustar 4 debian/control0000644000000000000000000001025511306040532010566 0ustar Source: lp-solve Section: math Priority: optional Maintainer: Juan Esteban Monsalve Tobon Uploaders: Rene Engelhard , Anibal Monsalve Salazar Build-Depends: debhelper (>= 4), libsuitesparse-dev (>= 1:3.4.0) Standards-Version: 3.7.2 Homepage: http://lpsolve.sourceforge.net Package: lp-solve Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Solve (mixed integer) linear programming problems The linear programming (LP) problem can be formulated as: Solve A.x >= V1, with V2.x maximal. A is a matrix, x is a vector of (nonnegative) variables, V1 is a vector called the right hand side, and V2 is a vector specifying the objective function. . An integer linear programming (ILP) problem is an LP with the constraint that all the variables are integers. In a mixed integer linear programming (MILP) problem, some of the variables are integer and others are real. . The program lp_solve solves LP, ILP, and MILP problems. It is slightly more general than suggested above, in that every row of A (specifying one constraint) can have its own (in)equality, <=, >= or =. The result specifies values for all variables. . lp_solve uses the 'Simplex' algorithm and sparse matrix methods for pure LP problems. If one or more of the variables is declared integer, the Simplex algorithm is iterated with a branch and bound algorithm, until the desired optimal solution is found. lp_solve can read MPS format input files. . Homepage http://www.geocities.com/lpsolve/ Package: lp-solve-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: www-browser Description: Solve (mixed integer) linear programming problems - documentation The linear programming (LP) problem can be formulated as: Solve A.x >= V1, with V2.x maximal. A is a matrix, x is a vector of (nonnegative) variables, V1 is a vector called the right hand side, and V2 is a vector specifying the objective function. . An integer linear programming (ILP) problem is an LP with the constraint that all the variables are integers. In a mixed integer linear programming (MILP) problem, some of the variables are integer and others are real. . The program lp_solve solves LP, ILP, and MILP problems. It is slightly more general than suggested above, in that every row of A (specifying one constraint) can have its own (in)equality, <=, >= or =. The result specifies values for all variables. . lp_solve uses the 'Simplex' algorithm and sparse matrix methods for pure LP problems. If one or more of the variables is declared integer, the Simplex algorithm is iterated with a branch and bound algorithm, until the desired optimal solution is found. lp_solve can read MPS format input files. . This package contains the documentation for the lp_solve program and the library. . Homepage http://www.geocities.com/lpsolve/ Package: liblpsolve55-dev Section: libdevel Architecture: any Depends: libsuitesparse-dev, ${misc:Depends} Description: Solve (mixed integer) linear programming problems - library The linear programming (LP) problem can be formulated as: Solve A.x >= V1, with V2.x maximal. A is a matrix, x is a vector of (nonnegative) variables, V1 is a vector called the right hand side, and V2 is a vector specifying the objective function. . An integer linear programming (ILP) problem is an LP with the constraint that all the variables are integers. In a mixed integer linear programming (MILP) problem, some of the variables are integer and others are real. . The program lp_solve solves LP, ILP, and MILP problems. It is slightly more general than suggested above, in that every row of A (specifying one constraint) can have its own (in)equality, <=, >= or =. The result specifies values for all variables. . lp_solve uses the 'Simplex' algorithm and sparse matrix methods for pure LP problems. If one or more of the variables is declared integer, the Simplex algorithm is iterated with a branch and bound algorithm, until the desired optimal solution is found. lp_solve can read MPS format input files. . This package contains the static library for developing programs using liblpsolve. . Homepage http://www.geocities.com/lpsolve/ debian/changelog0000644000000000000000000002135312256053300011040 0ustar lp-solve (5.5.0.13-7build1) trusty; urgency=medium * Rebuild for suitesparse 4.2.1. -- Colin Watson Mon, 23 Dec 2013 15:29:04 +0000 lp-solve (5.5.0.13-7) unstable; urgency=low * move to "3.0 (quilt)" format; move downloaded docs into extra docs tarball and move change from 5.5.0.10-6 from only in .diff.gz (oops!) to proper patch * include headers needed for plugin libraries (closes: #555830), thanks Matthias Kümmerer * add ${misc:Depends} * remove debian/watch (closes: #529154) -- Rene Engelhard Thu, 03 Dec 2009 23:55:09 +0100 lp-solve (5.5.0.13-6) unstable; urgency=low * build against suitesparse 3.4.0 (libcolamd2.7.1) -- Rene Engelhard Wed, 10 Jun 2009 22:59:02 +0200 lp-solve (5.5.0.13-5) unstable; urgency=low * make liblpsolve55-dev depend on libsuitesparse-dev (closes: #524295) -- Rene Engelhard Wed, 06 May 2009 11:22:45 +0200 lp-solve (5.5.0.13-4) unstable; urgency=low * rebuild with suitesparse 1:3.2.0-2 to only get a dep on libcolamd-3.2.0 * upload to unstable -- Rene Engelhard Sun, 22 Feb 2009 22:53:00 +0100 lp-solve (5.5.0.13-3) experimental; urgency=low * build against suitesparse 3.2.0 -- Rene Engelhard Mon, 26 Jan 2009 23:27:10 +0100 lp-solve (5.5.0.13-2) experimental; urgency=low * add Homepage: (closes: #509917) -- Rene Engelhard Sun, 28 Dec 2008 14:21:47 +0100 lp-solve (5.5.0.13-1) experimental; urgency=low * New upstream release (closes: #507462) -- Rene Engelhard Mon, 01 Dec 2008 19:57:10 +0100 lp-solve (5.5.0.10-10) unstable; urgency=low * build against libsuitesparse-3.1.0 -- Rene Engelhard Fri, 22 Feb 2008 07:05:14 +0100 lp-solve (5.5.0.10-9) unstable; urgency=low * build liblpsolve55.so with -fPIC instead of -fpic and revert last -fpic change -- Rene Engelhard Thu, 18 Oct 2007 00:32:42 +0200 lp-solve (5.5.0.10-8) unstable; urgency=low * also specify -fpic when linking liblpsolve55.so * run ccc using -e -- Rene Engelhard Tue, 11 Sep 2007 20:56:40 +0200 lp-solve (5.5.0.10-7) unstable; urgency=low * build wih -O2 on alpha to work around ICE -- Rene Engelhard Mon, 10 Sep 2007 13:18:30 +0200 lp-solve (5.5.0.10-6) unstable; urgency=low * add patch from upstream to fix segmentation faults with xli_CPLEX (closes: #439232) -- Rene Engelhard Mon, 03 Sep 2007 02:03:06 +0200 lp-solve (5.5.0.10-5) unstable; urgency=low * fix Recommends on liblpsolve55-dev to also point to suitesparse -- Rene Engelhard Wed, 18 Jul 2007 23:23:04 +0200 lp-solve (5.5.0.10-4) unstable; urgency=high * build against suitesparse * use debian/compat -- Rene Engelhard Wed, 18 Jul 2007 10:09:13 +0200 lp-solve (5.5.0.10-3) unstable; urgency=low * upload to unstable -- Rene Engelhard Wed, 28 Feb 2007 16:05:35 +0100 lp-solve (5.5.0.10-2) experimental; urgency=low * /usr/lib/lp-solve -> /usr/lib/lp_solve -- Rene Engelhard Fri, 16 Feb 2007 20:06:50 +0100 lp-solve (5.5.0.10-1) experimental; urgency=low * New upstream release * add documentation from lpsolve.sourceforge.net/5.5 (closes: #377333); remove images, though (diff...) and link them to the online version to prevent needing uu* them * install liblpsolve55.so into /usr/lib/lp_solve, because it might be needed by additional stuff * link lp_solve against liblpsolve55.so -- Rene Engelhard Thu, 25 Jan 2007 12:50:07 +0100 lp-solve (5.5-4) unstable; urgency=high * stop shipping "demo" (closes: #3921401) -- Rene Engelhard Sun, 15 Oct 2006 17:59:29 +0200 lp-solve (5.5-3) unstable; urgency=low * install demo * libufsparse[-dev] is now available on mips*, so build with system-colamd there, too * move libufsparse-dev Suggests to Recommends and fix typo in it -- Rene Engelhard Tue, 11 Jul 2006 23:45:35 +0200 lp-solve (5.5-2) unstable; urgency=low * don't build with system-colamd on mips* since we don't have libufsparse[-dev] there... * move liblpsolve55-dev to libdevel instead of math -- Rene Engelhard Wed, 28 Jun 2006 10:15:05 +0200 lp-solve (5.5-1) unstable; urgency=low * add Anibal Monsalve Salazar and myself to Uploaders: * New upstream release (closes: #262512, #372754) * clean up debian/ * build _pic version of the library; OOo will link us into a shared lib * split liblpsolve55*.a and includes out into an own package * debian/README.Debian: update * fix debian/copyright (closes: #290213) * build with system libcolamd; build-dep on libufsparse-dev * drop conflicts against pcx, not needed anymore * debian/NEWS: add, mention changes * Suggest libufsparse-dev from liblpsove55-dev -- Rene Engelhard Mon, 19 Jun 2006 12:43:52 +0200 lp-solve (4.0-4) unstable; urgency=low * New maintainer. -- Juan Esteban Monsalve Tobon Sun, 10 Apr 2005 11:11:57 +1000 lp-solve (4.0-3) unstable; urgency=low * New maintainer's email address. -- Anibal Monsalve Salazar Tue, 08 Feb 2005 00:30:10 +1100 lp-solve (4.0-2) unstable; urgency=low * New maintainer. * New upstream location. (Closes: #234399) Updated debian/{copyright,control} -- Anibal Monsalve Salazar Wed, 18 Aug 2004 13:00:42 +1000 lp-solve (4.0-1) unstable; urgency=low * New upstream release (closes:bug#175782) * debian/rules: install declare.h, resource.h, unfortify.h (closes:bug#175645) and HARTMUT_DOCUMENTATION (thanks to Thomas Schank) * lp_solve.1: add .TP so -time documentation isn't hidden. Document allowed characters in a variable name (closes:bug#174405). -- James R. Van Zandt Sun, 12 Jan 2003 19:16:56 -0500 lp-solve (3.99-4.0beta1-1) unstable; urgency=low * New upstream release (Closes:Bug#170395) * debian/rules: install new example files, install fortify.h, don't call suidregister * README.examples: run program with -S3 to print constraints * test-1: add -S3 flag * lp_solve.1: describe new options -- James R. Van Zandt Mon, 25 Nov 2002 20:38:02 -0500 lp-solve (3.2-5) unstable; urgency=low * new maintainer email -- James R. Van Zandt Sun, 9 Dec 2001 21:24:32 -0500 lp-solve (3.2-4) unstable; urgency=low * lpkit.h: delete extra "extern "C" {" in the middle which broke C++ compilations (thanks to David Smith Closes:Bug#114600) -- James R. Van Zandt Sun, 7 Oct 2001 21:18:09 -0400 lp-solve (3.2-3) unstable; urgency=low * debian/control: comma separate build-deps (thanks to Rick Younie ) -- James R. Van Zandt Mon, 23 Apr 2001 22:05:40 -0400 lp-solve (3.2-2) unstable; urgency=low * debian/control: Build-Depends on flex and bison (closes:Bug#94145) -- James R. Van Zandt Sat, 21 Apr 2001 09:16:06 -0400 lp-solve (3.2-1) unstable; urgency=low * New upstream release * honor DEB_BUILD_OPTIONS * debian/control: move Build-Depends line to source section. Policy version 3.5.2. * debian/rules, debian/test-1: support debian-test * debian/copyright: remove mention of old license directory -- James R. Van Zandt Sat, 31 Mar 2001 12:03:35 -0500 lp-solve (3.0-4) unstable; urgency=low * build-depends on debhelper -- James R. Van Zandt Sun, 3 Sep 2000 11:50:14 -0400 lp-solve (3.0-3) unstable; urgency=low * insert "#ifdef __cplusplus" et al. in headers to allow calls from c++ (as suggested by mxu , closes:bug#63854) -- James R. Van Zandt Mon, 19 Jun 2000 17:50:09 -0400 lp-solve (3.0-2) unstable; urgency=low * create temporary symlink lpkit->. so building is done with header files (e.g. lpkit.h and hash.h) from the build directory. (fix courtesy of Roman Hodek , closes:bug#50432) -- James R. Van Zandt Sat, 20 Nov 1999 10:19:33 -0500 lp-solve (3.0-1) unstable; urgency=low * Initial Release. * demo.c: header file is lpkit/lpkit.h instead of just lpkit.h. Data file comes from the current directory, not the "lp_examples" subdirectory. * lp2mps.1: New man page. * mps2lp.1: New man page. * lp_solve.1: Use italics and bold face where appropriate. * lpkit.h: ask user to link against "liblpk.a", not "lplps.a". -- James R. Van Zandt Sun, 24 Oct 1999 08:53:51 -0400 Local variables: mode: debian-changelog End: