
Robert Fourer
- Total activity 49
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 25
Comments
Votes on activity by Robert Fourer-
You are setting gurobi_options twice: option gurobi_options 'timelimit=100 outlev=1 mipgap=0 mipfocus=3';option gurobi_options 'logfile=C:\AMPL\2023_01_29\Replication01\logfile.temp'; The second s...
-
Set Gurobi's nonconvex option in your .run file. If you are already setting a gurobi_options string, then add nonconvex=2 to it. If you are not yet setting a gurobi_options string, then add this c...
-
When Gurobi 10.0 for AMPL is released (very soon now) there will be an option writepresolvedprob that works the same as the current option writeprob except that it writes -- to the specified file -...
-
Use AMPL's \(\texttt{.priority}\) suffix to set priorities of variables for Gurobi. For example: suffix priority IN;let {i in ACTIVITIES} Y[i].priority := 100;let {i in ACTIVITIES, t in 1..T} X[i,t...
-
Gurobi's presolve was being turned off when called from AMPL, but was on when called from the R API. This can be seen from the option presolve=0 echoed in the AMPL listing, and the presence of thes...
-
You seem to be asking a new question about time limits, which is only indirectly related to the previous posts in this thread. Also, your question is more about how to use AMPL than how to use Guro...
-
That is a correct way to set the Gurobi time limit, and it's verified to be working with Gurobi 11.0 for AMPL. To be sure you are using it correctly, look for timelimit=7200 or lim:time=7200 in AMP...
-
Hey bot! Couldn't you use Model.addGenConstrExp()?
-
Does the setting of Gurobi parameter PreQLinearize make any difference in this situation?
-
You can write a formulation such as the following in AMPL, and it will be accepted by the AMPL-Gurobi interface: subj to cons1 {i in 2..N+1}: x1[i] - x1[i-1] - x2[i-1] * x3[i-1] * cos(x4[i-1]) >=...