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:
commit
3dba0dcfff
@ -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
3
glpk-4.65.tar.gz
Normal 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
BIN
glpk-4.65.tar.gz.sig
Normal file
Binary file not shown.
20
glpk-no_random_return.patch
Normal file
20
glpk-no_random_return.patch
Normal 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)
|
18
glpk.changes
18
glpk.changes
@ -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
|
||||
|
||||
|
10
glpk.spec
10
glpk.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,15 +18,16 @@
|
||||
|
||||
%define lname libglpk40
|
||||
Name: glpk
|
||||
Version: 4.64
|
||||
Version: 4.65
|
||||
Release: 0
|
||||
Summary: GNU Linear Programming Kit
|
||||
License: GPL-3.0
|
||||
License: GPL-3.0-only
|
||||
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
|
||||
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
|
||||
Patch0: glpk-no_random_return.patch
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: texlive
|
||||
@ -73,6 +74,7 @@ callable library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
Loading…
Reference in New Issue
Block a user