0

I have a system of non-linear equations, which may or may not have a unique solution. The default GAMS mixed complementary problem (MCP) solver returns one solution to this system (when it exists).

For example, the system

x-y=0
x-y2=0

has two solution, one at x=y=0, and one at x=y=1, but GAMS code

Variables
    x
    y;        
Equations
    eq1
    eq2;    
eq1 .. x =e= y;
eq2 .. x =e= y**2;
model test /eq1,eq2/;
solve test using mcp;
Display x.l,y.l;

only returns the first of solution.

Is there a way to use GAMS to give an exhaustive list of solutions?

I have not managed to find any suitable methods in the GAMS documentation or on the web.

Chris
  • 1
  • 1

0 Answers0