6e51be7bec
IPopt is an interior-point solver for non-linear optimization problems. part of the COIN-OR project. Closes Homebrew/homebrew#5856. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
16 lines
461 B
Ruby
16 lines
461 B
Ruby
require 'formula'
|
|
|
|
class Ipopt < Formula
|
|
url 'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.10.0.tgz'
|
|
homepage 'https://projects.coin-or.org/Ipopt'
|
|
md5 '10d934a58b54dcc58c6ebee34ca437bb'
|
|
|
|
def install
|
|
ENV.fortran
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
ENV.deparallelize # Needs a serialized install
|
|
system "make install"
|
|
end
|
|
end
|