Hello,
im solving RMINLP for my master thesis in Gams. I need to evaluate the solution and based on that rerun the solver with different data.
Since Java is the only language im familiar with i chose it as my API language.
I am asking for advice and your opinion on my project meaning if its possible or not.
So the RMINLP is yielding the optimal solution (i assessed it with full enumeration).
Changing the exact same problem to MINLP yields a wrong solution. The solver used in both cases is CONOPT 3 version 3.15I (+ CPLEX in the MINLP case).
(Might this be a bug or is it 100% my own formulation error? i attached a txt cointaining the output im having trouble interpreting.)
So i decided to program my own branch and bound. I need to change Data every iteration and in some cases fix values of the decision variables. .fx()
Im using some of the external functions of stolib in my objective function (is this a problem when using java api?).
Does fixing decision variables reqire me to use addJobFromString(model); instead of addJobFromFile(model) so i can change some ecuations directly in java?
Im aware that there are several methods to pass data between Gams and Java (by a String within the Java code, by the gms file, by gdx). Which one would you recommend, as in which one is the easiest?
Thank you for any advice,
Max
\
Output.txt (7.29 KB)