Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ampl-mp 4.0.0 ampl-asl 1.0.0 (new formula) #197123

Merged
merged 6 commits into from
Nov 23, 2024
Merged

Conversation

chenrui333
Copy link
Member

@chenrui333 chenrui333 commented Nov 8, 2024

Created with brew bump-formula-pr.

  • resource blocks have been checked for updates.
release notes
# First tagged release since 2016

Overview

  • Automatic reformulation framework
    • Logical, combinatorial and conic constraints are reformulated into basic constructs suitable for a given solver, see https://mp.ampl.com/
    • Out-multiplication of quadratics, as typical for MIQP solvers
    • Piecewise-linear approximation of univariate nonlinear functions
  • 9 MILP/MIQP solvers implemented in MP, they are now default AMPL binaries
  • Multi-objective emulator #239
  • Reformulation explorer #232
  • Automatic solution check #200
  • NL Writer library added in C/C++ and Python #30
  • Expression tree output, suitable for (MI)NLP solver API, added in #137

Pull requests

New Contributors

Full Changelog: ampl/mp@3.1.0...v4.0.0

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Nov 8, 2024
@Homebrew Homebrew deleted a comment from github-actions bot Nov 8, 2024
@github-actions github-actions bot added automerge-skip `brew pr-automerge` will skip this pull request autobump labels Nov 8, 2024
@chenrui333

This comment was marked as resolved.

@chenrui333 chenrui333 added the build failure CI fails while building the software label Nov 8, 2024
@chenrui333
Copy link
Member Author

asl got removed from mp, ampl/asl#21

@chenrui333 chenrui333 added the upstream issue An upstream issue report is needed label Nov 10, 2024
@github-actions github-actions bot added the new formula PR adds a new formula to Homebrew/homebrew-core label Nov 10, 2024
@chenrui333 chenrui333 changed the title ampl-mp 4.0.0 ampl-mp 4.0.0 ampl-mp 3.3.0 (new formula) Nov 10, 2024
@chenrui333 chenrui333 changed the title ampl-mp 4.0.0 ampl-mp 3.3.0 (new formula) ampl-mp 4.0.0 ampl-mp 3.1.0 (new formula) Nov 10, 2024
@chenrui333 chenrui333 changed the title ampl-mp 4.0.0 ampl-mp 3.1.0 (new formula) ampl-mp 4.0.0 ampl-mp@3 3.1.0 (new formula) Nov 10, 2024
@chenrui333 chenrui333 removed upstream issue An upstream issue report is needed build failure CI fails while building the software labels Nov 10, 2024
@daeho-ro daeho-ro force-pushed the bump-ampl-mp-4.0.0 branch 3 times, most recently from 4f6275c to df4957c Compare November 12, 2024 15:01
@daeho-ro daeho-ro added the ready to merge PR can be merged once CI is green label Nov 12, 2024
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

@github-actions github-actions bot added the stale No recent activity label Nov 14, 2024
@daeho-ro daeho-ro removed the stale No recent activity label Nov 14, 2024
Formula/i/ipopt.rb Outdated Show resolved Hide resolved
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

@github-actions github-actions bot added the stale No recent activity label Nov 18, 2024
@chenrui333 chenrui333 removed the stale No recent activity label Nov 18, 2024
@chenrui333
Copy link
Member Author

dropped ampl-mp@3 in favor of ampl-asl (it builds/tests out fine for ipopt)

@SMillerDev
Copy link
Member

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-11 -DNo_Control87 -Dasl_EXPORTS -I/tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/build/include -I/tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/src/solvers -m64 -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -fPIC -Wno-unused-result -Wno-parentheses -MD -MT CMakeFiles/asl.dir/src/solvers/xp1known.c.o -MF CMakeFiles/asl.dir/src/solvers/xp1known.c.o.d -o CMakeFiles/asl.dir/src/solvers/xp1known.c.o -c /tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/src/solvers/xp1known.c
[ 97%] Building C object CMakeFiles/asl.dir/src/solvers/xp2known.c.o
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc-11 -DNo_Control87 -Dasl_EXPORTS -I/tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/build/include -I/tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/src/solvers -m64 -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -fPIC -Wno-unused-result -Wno-parentheses -MD -MT CMakeFiles/asl.dir/src/solvers/xp2known.c.o -MF CMakeFiles/asl.dir/src/solvers/xp2known.c.o.d -o CMakeFiles/asl.dir/src/solvers/xp2known.c.o -c /tmp/ampl-asl-20241122-3962-tpnem/asl-1.0.0/src/solvers/xp2known.c
[ 98%] Linking C shared library bin/libasl.so
/home/linuxbrew/.linuxbrew/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/asl.dir/link.txt --verbose=1
./src/solvers/fgh_read.c:101:15: error: function ‘f2_HOL_ASL’ redeclared as variable
./src/solvers/rops2.c:1019:1: note: previously declared here
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: gcc-11 returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

@SMillerDev SMillerDev removed their request for review November 22, 2024 09:02
@cho-m cho-m added CI-skip-new-formulae Pass --skip-new to brew test-bot. CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels Nov 22, 2024
@cho-m
Copy link
Member

cho-m commented Nov 22, 2024

Could try disabling LTO on Linux

ampl-mp: remove build patches

Signed-off-by: Rui Chen <rui@chenrui.dev>

autobump: add ampl-mp

Signed-off-by: Rui Chen <rui@chenrui.dev>

ampl-mp: update build and test

Signed-off-by: Rui Chen <rui@chenrui.dev>
@daeho-ro daeho-ro force-pushed the bump-ampl-mp-4.0.0 branch 2 times, most recently from 57507e3 to 6de4485 Compare November 23, 2024 12:09
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Copy link
Contributor

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 23, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Nov 23, 2024
Merged via the queue into master with commit 58cfbb1 Nov 23, 2024
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-ampl-mp-4.0.0 branch November 23, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autobump automerge-skip `brew pr-automerge` will skip this pull request bump-formula-pr PR was created using `brew bump-formula-pr` CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. CI-skip-new-formulae Pass --skip-new to brew test-bot. in progress Stale bot should stay away new formula PR adds a new formula to Homebrew/homebrew-core ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants