Added builder for ASL2#13950
Conversation
|
cc @odow I also wonder if both ASL and ASL2 should live in |
|
@amontoison what are the implications if Uno builds with ASL2 but Ipopt builds with ASL? |
|
@odow It will not be an issue as long as the symbols are not loaded in a global namespace (dlopen with But we don't do that in Julia: So the two libraries will not get the symbols of their dependencies colliding. We can have an issue if a solver links to both What I am more scared about with this PR is that the C interface was developed as a patch by Dominique a long time ago, and I don't know if it is still compatible. That is why I never updated I suggest that we check with David Gay by email before we merge anything. |
|
An alternative: Charlie could just vendor this into Uno? I'm also not keen on touching the current ASL. I've never had any bug reports about it. |
|
We also don't need the C interface developed by Dominique if we do that ( Charlie, can you use a I found that the version is in the commit with a small changelog. |
|
I just pushed a draft with |
|
We're good to go. I had to fix a couple of issues on the |
|
This appears to be building both a |
|
Good point. |
I suggest something less hacky: And also on Windows platforms: @imciner2 Is it normal that we have a folder with cmake files in |
Yep, that is one of the folders that the CMake scripts for That CMake file appears to have parts for both ASL and ASL2, so if you just delete the |
|
I have disabled the |
|
Gentle bump :) |
|
@amontoison The github repo has v1.0.1 - so shouldn't we just go with 1.0.2 or something if we are using a recent commit - rather than going with the 2025.x.y (which will permanently have us out of sync with the upstream)? |
|
@ViralBShah The version v2025x.y is the version upstream. You need to check the description of the commits to get it and not the releases on their github repository. |
|
@amontoison Ok - thanks. Shall we merge? |
|
Yes, LGTM 👍 |
|
@imciner2 All good for you too? |
close #11158
Derived from https://github.com/JuliaPackaging/Yggdrasil/tree/master/A/ASL
ASL2 (AMPL Solver Library 2) is an alternative to ASL that is thread-safe and uses evaluation workspaces.
See documentation (look for
solvers2) and sources.cc @dpo @amontoison