Search found 2 matches

by Seoms
4 years ago
Forum: Syntax
Topic: Please check my code. I have no idea what's wrong with it
Replies: 4
Views: 4783

Re: Please check my code. I have no idea what's wrong with it

Hi, Your problem is a mixed integer non linear program (MINLP). I used Baron to solve it and I think it is free for for a limited number of variables. Run the code below and tell me if it works: $TITLE Test Problem $OFFSYMXREF $OFFSYMLIST integer VARIABLES X1, X2 ; variable Z; EQUATIONS CON1, CON2,...
by Seoms
4 years ago
Forum: Syntax
Topic: Please check my code. I have no idea what's wrong with it
Replies: 4
Views: 4783

Please check my code. I have no idea what's wrong with it

Hi I'm a newbe of GAMS and I want to figure out optimal solution X1 and X2 (both of them must be integer) I think it is quite simple problem but I'm struggling with it. Please find out wrong sentence and give me help. $TITLE Test Problem $OFFSYMXREF $OFFSYMLIST VARIABLES X1, X2, Z POSITIVE VARIABLES...