Package Details: optpp 2.4-4

Git Clone URL: https://aur.archlinux.org/optpp.git (read-only)
Package Base: optpp
Description: An Object-Oriented Nonlinear Optimization Library
Upstream URL: https://software.sandia.gov/opt++/
Licenses: LGPL2.1
Submitter: x2b
Maintainer: x2b
Last Packager: x2b
Votes: 1
Popularity: 0.000000
First Submitted: 2013-07-26 15:19
Last Updated: 2015-06-09 11:32

Latest Comments

1 2 Next › Last »

xantares commented on 2019-09-01 07:53

a solution is to comment the source array and add a prepare section:

prepare() {
  curl -k <https://software.sandia.gov/opt++//downloads/optpp-2.4.tar.gz> | tar xz
}

xantares commented on 2019-09-01 07:46

the package fails to download:

curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. ==> ERROR: Failure while downloading https://software.sandia.gov/opt++//downloads/optpp-2.4.tar.gz

it succeeds with:

$ curl -kO https://software.sandia.gov/opt++//downloads/optpp-2.4.tar.gz

x2b commented on 2019-01-16 15:42

Note: The package seems to have been abandoned upstream a long time ago. There was a 3.0 tag created in the SVN many years ago, but apparently it was never releasesd. I don't think that anyone actively works on the project.

x2b commented on 2015-04-23 14:08

Please report this upstream, that's where this should be fixed.

matthieu637 commented on 2015-04-23 14:07

From my own experience, I discover several problems in this library :
- when it is used in a parallel way, using their own exception system is a bad idea and results in errors, it is better to use c++ exception

- the variable m_nconvgd should be initialized before calling initOpt() in OptBCNewtonLike::optimize in order to don't "conditional jump or move depending on uninitialised value".

- there is a memory leak in OptBCNewton::updateConstraints on the table 'new_active', it is not destroyed at the end of the function

- there is an infinite loop in OptBaNewton::scalarNewton if kappa is too big

If you are interested I made a patch, you just need to add :
source=("${url}/downloads/${pkgname}-${pkgver}.tar.gz" "https://matthieu-zimmer.net/~matthieu/patches/optpp-2.4.patch")

sha1sums=('089fb515f2f2e8632d603f2d1306d39aa355e9f0' '8c49a58eb4e31af81508447942c27dc89dd391bb')

prepare(){
cd "${srcdir}"/${pkgname}-${pkgver}
patch -Np1 -i ../${pkgname}-${pkgver}.patch
}

to the PKGBUILD.

x2b commented on 2015-04-05 18:25

Thanks, done

matthieu637 commented on 2015-04-02 15:18

There's a dependency with gcc-fortran.

x2b commented on 2015-01-19 17:10

Done

xantares commented on 2015-01-19 15:04

hi,
also could you enable shared libs instead of static ones ?
xan.

xantares commented on 2015-01-19 11:00

hi,
this package conflicts with cblas (/usr/include/cblas.h)
maybe install headers in /usr/include/opt++ ? or maybe this file can be removed ?
xan.