Package Details: optpp 2.4-4

Git Clone URL: (read-only, click to copy)
Package Base: optpp
Description: An Object-Oriented Nonlinear Optimization Library
Upstream URL:
Licenses: LGPL2.1
Submitter: x2b
Maintainer: x2b
Last Packager: x2b
Votes: 1
Popularity: 0.000000
First Submitted: 2013-07-26 15:19 (UTC)
Last Updated: 2015-06-09 11:32 (UTC)

Latest Comments

x2b commented on 2021-05-19 20:40 (UTC) (edited on 2021-05-19 20:41 (UTC) by x2b)

I don't think it is used very much. Afaik the best open source nonlinear programming code is Ipopt.

micwoj92 commented on 2021-05-19 05:16 (UTC)

It downloads fine, but as this is abandoned upstream does anyone use it?

xantares commented on 2019-09-01 07:53 (UTC) (edited on 2019-09-01 07:54 (UTC) by xantares)

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

prepare() {
  curl -k <> | tar xz

xantares commented on 2019-09-01 07:46 (UTC)

the package fails to download:

curl: (60) SSL certificate problem: unable to get local issuer certificate More details here:

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

it succeeds with:

$ curl -kO

x2b commented on 2019-01-16 15:42 (UTC) (edited on 2019-01-16 15:42 (UTC) by x2b)

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 (UTC)

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

matthieu637 commented on 2015-04-23 14:07 (UTC)

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" "") 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 (UTC)

Thanks, done

matthieu637 commented on 2015-04-02 15:18 (UTC)

There's a dependency with gcc-fortran.

x2b commented on 2015-01-19 17:10 (UTC)


xantares commented on 2015-01-19 15:04 (UTC)

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

xantares commented on 2015-01-19 11:00 (UTC)

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.

xantares commented on 2014-11-14 14:28 (UTC)

oh i did not see that, it's better to enable shared libraries instead of static libs.

x2b commented on 2014-11-14 13:24 (UTC)

No it isn't. It gets compiled into the static libnewmat.a/libopt.a. At least that's what namcap says...

xantares commented on 2014-11-14 13:16 (UTC)

it's not a compilation-only dependecy, use depends= instead of makedepends=

x2b commented on 2014-11-14 13:14 (UTC)

Thanks for the comment, should be fixed

xantares commented on 2014-11-13 17:01 (UTC)

hi, it seems it depends on blas, could you add it ?