Perhaps it makes your discrete variables to take non-integral values in the relaxed optimal solution (something you don't have with the linear variant) and the B&B has to work much harder. Without the model it's just guessing.
-Michael
Search found 1038 matches
- 2 years ago
- Forum: Solvers
- Topic: Stuck in the final part of MINLP using BONMIN
- Replies: 3
- Views: 3218
- 2 years ago
- Forum: Syntax
- Topic: Assigning value of a variable to another with programming flow control
- Replies: 2
- Views: 2295
Re: Assigning value of a variable to another with programming flow control
Use parallel assignment statement and the power of sets where ever possible and avoid regular programming constructs. Here your program how it ought to be written: sets tt /tt1*tt5/, t /t1*t10/; Variables X(tt) , Y(t); X.fx(tt) = ord(tt); set tmap(t,tt); tmap(t,tt) = ceil(ord(t)/2)=ord(tt); Y.fx(t) ...
- 2 years ago
- Forum: Syntax
- Topic: email notification when iteration reaches to the 10th loop
- Replies: 4
- Views: 3134
Re: email notification when iteration reaches to the 10th loop
Is this the 10th iteration in a solver or your own iteration inside the GAMS code? For the latter you can implement some logic inside your code (if(iter=10, ...);) and use the "execute" command to call the mailer program on the system to email. If this is inside the solver, you could have ...
- 2 years ago
- Forum: Solvers
- Topic: JAMS returns an error but model is solvable
- Replies: 2
- Views: 4046
Re: JAMS returns an error but model is solvable
Don't use a synchronized folder when running models, see https://support.gams.com/gams:can_i_use ... _with_gams. You seem to run in a Goggle Drive folder. This can lead to all kinds of nasty effects.
-Michael
-Michael
- 2 years ago
- Forum: Solvers
- Topic: Stuck in the final part of MINLP using BONMIN
- Replies: 3
- Views: 3218
Re: Stuck in the final part of MINLP using BONMIN
Bonmin solves many subproblems. The "EXIT: Optimal Solution Found" is from a subproblem (solver IPOPT) and does not mean that your original problem has been solved. The default algorithm in Bonmin is branch-and-bound. Even if you hold an integer solution it might still take a long time to ...
- 3 years ago
- Forum: Syntax
- Topic: Too many edits on one single line
- Replies: 1
- Views: 1764
Re: Too many edits on one single line
Can you send an example? -Michael
- 3 years ago
- Forum: Announcements
- Topic: GAMS Distribution 35.1.0 (Major Release)
- Replies: 0
- Views: 3072
GAMS Distribution 35.1.0 (Major Release)
Hi GAMS Users,
We started distributing GAMS Release 35.1.0 on April 29, 2021.
You can download the software from https://www.gams.com/download/
Here are the release notes: https://www.gams.com/latest/docs/RN_35.html
Your GAMS Team
www.gams.com
We started distributing GAMS Release 35.1.0 on April 29, 2021.
You can download the software from https://www.gams.com/download/
Here are the release notes: https://www.gams.com/latest/docs/RN_35.html
Your GAMS Team
www.gams.com
- 3 years ago
- Forum: Modeling
- Topic: Problem is integer infeasible or unbounded
- Replies: 3
- Views: 5531
Re: Problem is integer infeasible or unbounded
I would study https://www.gams.com/latest/docs/S_CPLE ... RELAXATION and perhaps look at example https://www.gams.com/latest/gamslib_ml/ ... sopt1.html.
-Michael
-Michael
- 3 years ago
- Forum: Modeling
- Topic: Problem is integer infeasible or unbounded
- Replies: 3
- Views: 5531
Re: Problem is integer infeasible or unbounded
If you deal with infeasibilities and MIP then first see if the underlying LP is already infeasible (change model type to rmip). You need to probably solve the model many times with different experiments, so working with LP is much faster (in your case it takes minutes until Cplex says infeasible for...
- 3 years ago
- Forum: Announcements
- Topic: GAMS Distribution 35.0.0 (Beta Release)
- Replies: 0
- Views: 3056
GAMS Distribution 35.0.0 (Beta Release)
Hi GAMS Users, We would like to announce the availability of the GAMS Beta Release 35.0.0. Please consult the beta release notes for details about new features and updated solvers: https://www.gams.com/beta/docs/RN_35.html If you are interested in experimenting with this beta release, please downloa...