Search found 5 matches

by jch
3 years ago
Forum: Solvers
Topic: MINOS infeasible but CPLEX optimal
Replies: 2
Views: 2987

Re: MINOS infeasible but CPLEX optimal

hi dirkse, thank you very much for the reply. What is the Examiner tool and where to get it? I changed the LP solver from MINOS to GUROBI, and the same issue happened: CPLEX found a solution, but GUROBI did not. I added the CPLEX option datacheck=2, and fixed some data issues based on the output, bu...
by jch
3 years ago
Forum: Solvers
Topic: MINOS infeasible but CPLEX optimal
Replies: 2
Views: 2987

MINOS infeasible but CPLEX optimal

I am using GAMS 30.3.0 ( Cplex 12.10.0.0, MINOS 5.6 ) to solve one problem.

Cplex returns optimal solution with MODEL STATUS of 1 Optimal.
MINOS says infeasible with MODEL STATUS of 4 Infeasible.

Why? How to fine the reason and solve this issue? Thanks.
by jch
3 years ago
Forum: Syntax
Topic: How to loop over sub-folders
Replies: 2
Views: 2106

Re: How to loop over sub-folders

bussieck, thank you so much!
by jch
3 years ago
Forum: Syntax
Topic: How to loop between a start_date and a end_date
Replies: 0
Views: 1649

How to loop between a start_date and a end_date

LoopDates.zip I have a function myFunction.gms. display "%1"; And a main function testFunction.gms to call myFunction. $batinclude myFunction.gms 20200625 $batinclude myFunction.gms 20200626 How to call myFunction.gms to loop from a start_date to an end_date? For example, how to write gam...
by jch
3 years ago
Forum: Syntax
Topic: How to loop over sub-folders
Replies: 2
Views: 2106

How to loop over sub-folders

I have a function: myFunction.gms display "%1"; And a main function testFunction.gms to call myFunction. $batinclude myFunction.gms abc $batinclude myFunction.gms 123 How to call myFunction.gms for each sub-folder? For example, I have three sub-folders in RootFolder. How to write gams code...