Search found 11 matches

by jshengdb
9 months ago
Forum: Solvers
Topic: How to define the empinfo file dynamically
Replies: 1
Views: 742

How to define the empinfo file dynamically

Hi everyone, Currently I am trying to use a decomposition method to solve a large-scale equilibrium problem, and at each iteration I am trying to solve a small equilibrium subproblem. The trick I use is that if the whole problem has a set m = /m1, m2, m3/, I can define a dynamic set mm(n), and each ...
by jshengdb
1 year ago
Forum: Tools
Topic: How to calculate the total solver resource usage time
Replies: 3
Views: 1152

Re: How to calculate the total solver resource usage time

bussieck wrote:
1 year ago
Sorry, I meant mymodel.resUsd (not resLim). -Michael
Hi Michael,

Thanks for solving my problem. That's really helpful. I just have one more small question: I think the .resUsd and .etSolve will report the CPU time. Do you know how can I get the wall time from GAMS?

Thanks
by jshengdb
1 year ago
Forum: Syntax
Topic: Difference between 'equilibrium vi' and 'vi' in EMP
Replies: 1
Views: 574

Difference between 'equilibrium vi' and 'vi' in EMP

Hi All,

I have a question between the difference between syntax 'equilibrium vi' and 'vi' in the EMP framework. Now I have a strongly monotone VI problem that can be solved by both syntax. However, the solution they give is quite different. I am just wondering what cause this situation.

Thanks
by jshengdb
1 year ago
Forum: Modeling
Topic: Too long execution time for a Dantzig-Wolfe decomposition method master problem
Replies: 2
Views: 691

Re: Too long execution time for a Dantzig-Wolfe decomposition method master problem

Hi Fred, Thanks. This answer helps me a lot. Hi, You are comparing the execution time of a single solve approach (EMP) to your manual implementation of an iterative method (DW) where the second lst excerpt shows that the execution time of 131.764 SECONDS was reached at iteration 102. Hence, this exe...
by jshengdb
1 year ago
Forum: Tools
Topic: How to calculate the total solver resource usage time
Replies: 3
Views: 1152

How to calculate the total solver resource usage time

Hi All, I am now writing a iteration method to solve a optimization problem and now I have a question about how to calculate the total resource usage time spent by the solver. I know that when gams ends its execution, it will have a elapsed time to calculate the total time used by the program. But i...
by jshengdb
1 year ago
Forum: Modeling
Topic: Too long execution time for a Dantzig-Wolfe decomposition method master problem
Replies: 2
Views: 691

Too long execution time for a Dantzig-Wolfe decomposition method master problem

Hi All, I'm now trying to solve a large Variational Inequality problem. And I solve it by two ways, using PATH solver solve it directly and use Dantzig-Wolfe method to solve it in a decomposition way. And when I implement the second way in GAMS, I found the time to solve it is relatively short, but ...
by jshengdb
1 year ago
Forum: Solvers
Topic: Strange problems about initial point of JAMS solver
Replies: 0
Views: 791

Strange problems about initial point of JAMS solver

Dear All, I now have a very strange problems when use jams solver to solve a MOPEC problem. To solve my MOPEC, I will first solve a very similar system optimization problem to get a feasible initial point. (It is feasible since when I fix this initial point and solve the problem, the model status is...
by jshengdb
1 year ago
Forum: Solvers
Topic: solver problem for solving a series equilibrium problem
Replies: 0
Views: 742

solver problem for solving a series equilibrium problem

Dear GAMS communities, I am now trying to solve a series of equilibrium problems and analyze the sensitivity analysis of the value function on the initial input state value. However, now I have a problem that a large part of these problems model status will be: 5 locally infeasible after solving. Fo...
by jshengdb
1 year ago
Forum: Syntax
Topic: Syntax error for EMP equilibrium problem
Replies: 2
Views: 896

Re: Syntax error for EMP equilibrium problem

Thanks! This solves my problem!
by jshengdb
1 year ago
Forum: Syntax
Topic: Syntax error for EMP equilibrium problem
Replies: 0
Views: 685

Syntax error for EMP equilibrium problem

<r>Hi,<br/> <br/> I have a emp syntax error for a equilibrium problem. GAMS said <B><s> </s>"JAMS Pre processing failed"<e> </e></B> caused by <B><s> </s>"EMP syntax error: key expected: is I (item 13 on line 3) but instance not in variable rim"<e> </e></B>. <br/> <br/> My code is following:<br/> <b...