Comments (2)
You can pass solver options via set_optimizer_attribute
, yes. For example, do
set_optimizer_attribute(model, GAMS.Solver(), "conopt")
set_optimizer_attribute(model, "lspret", 0)
Note that it is important to specify the solver first. Otherwise the option is interpreted as GAMS option which would lead to an error as this isn't a GAMS option. GAMS.jl will create an option file for you in the background.
Does this work for you?
from gams.jl.
Yes, It works now. Thanks for your help!
from gams.jl.
Related Issues (20)
- [Q]: which are the benefits of gams.jl over the standard solver calling? HOT 2
- Alternative License File HOT 1
- Constraint Conflict Resolution or .gms file HOT 1
- Add support of JuMP variable/constraint names on GAMS level HOT 6
- HoldFixed causes value(<fixed_variable>) to return 0.0 HOT 3
- JuMP.direct_model does not work with GAMS.Optimizer() HOT 3
- ANTIGONE parameter file HOT 2
- ANTIGONE parameter file HOT 1
- MathOptInterface deprecated with some newer Julia packages HOT 3
- Update to MOI 1.11 HOT 1
- Question: using PATH through GAMS HOT 6
- Add support of attribute RelativeGap (and maybe others) HOT 2
- is it possible to access dual/marginal variables HOT 2
- [FR] Accessing GDX files from Julia HOT 7
- Input data rounded? HOT 3
- Variable index allocation problem for silent variables HOT 9
- vscode: GAMS executable not found! HOT 3
- GAMS doesn't recognize "acos" HOT 2
- slow on iterative solves HOT 7
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 gams.jl.