Comments (6)
That would then overwrite the SHOT that comes with GAMS.
Replacing SHOT by something else in the lines starting at https://github.com/coin-or/SHOT/blob/master/misc/gamsinst.sh#L53 should allow to have two versions of SHOT simultaneously.
I also started a new version of the scripts here:
- https://github.com/coin-or/GAMSlinks/blob/master/gamsinst.py
- https://github.com/coin-or/GAMSlinks/blob/master/gamsuninst.py
Maybe they are easier to use or reuse.
They don't touch other libs in GAMS as in https://github.com/coin-or/SHOT/blob/master/misc/gamsinst.sh#L117, but that doesn't seem to be a clean solution anyway.
With GAMS 31, though, there might be a way to make a solver known to GAMS without editing files in the GAMS system dir.
from shot.
What you want me to do here? Rename SHOT in misc/gamsinst.sh
, upgrade to new scripts, or wait for GAMS 31 and provide new instructions on how to tell GAMS about SHOT?
from shot.
I am not really sure myself... Will it work with the new scripts and GAMS 30 or older? What about all the license checks that you do now, are those backwards compatible as well? Or should we just require GAMS 31+?
from shot.
The new scripts work with GAMS 30 and older, too.
The license checks require GAMS >= 30, because there was some big change including the pal API in GAMS 30.
The easiest would be to remove all scripts and explain which file in GAMS to edit in which way. And when GAMS 31 is out, add an explanation for the new alternative.
I doubt that there will be many that want to install SHOT in GAMS when GAMS already includes a more-or-less recent SHOT version.
from shot.
Yes, I agree. The only person using those scripts would probably be me :)
from shot.
So https://github.com/coin-or/SHOT/pull/new/gamsinst is removing the scripts.
Can you merge this, if you agree, and add the information from
Lines 79 to 89 in 0955259
to https://shotsolver.dev/shot/about-shot/compiling ?
from shot.
Related Issues (20)
- building SHOT with CMAKE and MSVC HOT 3
- Compiling on Arch Linux HOT 4
- How to install with homebrew on Macos? HOT 1
- creating a optimization problem with SHOT HOT 2
- Constant Objective Function Cause ASL Error HOT 3
- Description of Model.Reformulation.Constraint.PartitionNonlinearTerms option HOT 1
- Compilation error HOT 4
- How can I specify solver options in Pyomo? HOT 2
- use of uninit value, probably Results::currentDualBound
- cutOffToUse used uninitialized
- "error while loading shared libraries: libSHOTSolver.so" HOT 1
- invalid read in CbcModel::setBestSolution() HOT 3
- Dual.MIP.NumberOfThreads ignored for Gurobi HOT 5
- cannot create std::vector larger than max_size() HOT 3
- Make error with cplex as subsolver HOT 7
- Problems finding spdlog and cppad HOT 1
- Simple problem with non-optimal solution HOT 6
- SHOT 1.1 doesn't have Windows binary HOT 1
- CPLEX not found in compiling
- Compile ld.lld: error: undefined symbol: __android_log_write HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shot.