SHA256
1
0
forked from pool/glpk

Accepting request 619409 from science

- Update to version 4.65:
  * The following new API routines for LP/MIP preprocessing were added:
    + glp_npp_alloc_wksp    allocate the preprocessor workspace
    + glp_npp_load_prob     load original problem instance
    + glp_npp_preprocess1   perform basic LP/MIP preprocessing
    + glp_npp_build_prob    build resultant problem instance
    + glp_npp_postprocess   postprocess solution to resultant problem
    + glp_npp_obtain_sol    obtain solution to original problem
    + glp_npp_free_wksp     free the preprocessor workspace
  * A new, more robust implementation of locally valid simple cover
    cuts was included in the MIP solver.
  * The API routine glp_init_iocp was changed to enable long-step
    option of the dual simplex by default.
- Add glpk-no_random_return.patch

OBS-URL: https://build.opensuse.org/request/show/619409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glpk?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2018-06-28 13:14:12 +00:00 committed by Git OBS Bridge
commit 3dba0dcfff
7 changed files with 47 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:539267f40ea3e09c3b76a31c8747f559e8a097ec0cda8f1a3778eec3e4c3cc24
size 4143259

Binary file not shown.

3
glpk-4.65.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4281e29b628864dfe48d393a7bedd781e5b475387c20d8b0158f329994721a10
size 4167110

BIN
glpk-4.65.tar.gz.sig Normal file

Binary file not shown.

View File

@ -0,0 +1,20 @@
Index: glpk-4.65/src/draft/glpios01.c
===================================================================
--- glpk-4.65.orig/src/draft/glpios01.c
+++ glpk-4.65/src/draft/glpios01.c
@@ -1491,6 +1491,7 @@ int ios_add_row(glp_tree *tree, IOSPOOL
IOSCUT *ios_find_row(IOSPOOL *pool, int i)
{ /* find row (constraint) in the cut pool */
xassert(0);
+ return;
}
#else
IOSCUT *ios_find_row(IOSPOOL *pool, int i)
@@ -1550,6 +1551,7 @@ IOSCUT *ios_find_row(IOSPOOL *pool, int
void ios_del_row(glp_tree *tree, IOSPOOL *pool, int i)
{ /* remove row (constraint) from the cut pool */
xassert(0);
+ return;
}
#else
void ios_del_row(glp_tree *tree, IOSPOOL *pool, int i)

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jun 27 13:50:37 UTC 2018 - mpluskal@suse.com
- Update to version 4.65:
* The following new API routines for LP/MIP preprocessing were added:
+ glp_npp_alloc_wksp allocate the preprocessor workspace
+ glp_npp_load_prob load original problem instance
+ glp_npp_preprocess1 perform basic LP/MIP preprocessing
+ glp_npp_build_prob build resultant problem instance
+ glp_npp_postprocess postprocess solution to resultant problem
+ glp_npp_obtain_sol obtain solution to original problem
+ glp_npp_free_wksp free the preprocessor workspace
* A new, more robust implementation of locally valid simple cover
cuts was included in the MIP solver.
* The API routine glp_init_iocp was changed to enable long-step
option of the dual simplex by default.
- Add glpk-no_random_return.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 11 20:52:49 UTC 2017 - astieger@suse.com Mon Dec 11 20:52:49 UTC 2017 - astieger@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package glpk # spec file for package glpk
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,15 +18,16 @@
%define lname libglpk40 %define lname libglpk40
Name: glpk Name: glpk
Version: 4.64 Version: 4.65
Release: 0 Release: 0
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
License: GPL-3.0 License: GPL-3.0-only
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Url: https://www.gnu.org/software/glpk/glpk.html URL: https://www.gnu.org/software/glpk/glpk.html
Source0: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz Source0: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz.sig Source1: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
Patch0: glpk-no_random_return.patch
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: texlive BuildRequires: texlive
@ -73,6 +74,7 @@ callable library.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"