Super Basic Variables

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 7 years ago

Super Basic Variables

Post by Archiver »



Hello,

I am trying to use the interface between GAMS and MATLAB. I am calling
GAMS through MATLAB by giving relevant inputs to GAMS.

I have to following scenario's

A. ) On calling GAMS from MATLAB i see an error( in the *.lst file)
which says

** Optimal solution. There are
no superbasic variables.

and the objective value computed goes to zero and the variable
being determined is set to its lower bound values.

B.) If i manually feed in the input to GAMS and run GAMS
independently(no interface with Matlab) then no such error comes up
and the computation is just fine.

For scenario 'A' i checked if values were being passed from MATLAB to
GAMS properly and i see that the passing of values is proper(checked
the "matdata.gdx" file).

Can anyone suggest as to where the problem may lie and how can one
nail it down.

Regards,
Sumit
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: Super Basic Variables

Post by Archiver »


hi, timebeing i dont have answer for your question.

But interested to know, did you built model in Matlab and optimizing using GAMS solver?..

if this is the case, i too interested to learn this.... may i know, how you interfaced the Matlab and GAMS.



On Mon, Oct 6, 2008 at 2:33 PM, sskhera wrote:


Hello,

I am trying to use the interface between GAMS and MATLAB. I am calling
GAMS through MATLAB by giving relevant inputs to GAMS.

I have to following scenario's

A. ) On calling GAMS from MATLAB i see an error( in the *.lst file)
which says

** Optimal solution. There are
no superbasic variables.

and the objective value computed goes to zero and the variable
being determined is set to its lower bound values.

B.) If i manually feed in the input to GAMS and run GAMS
independently(no interface with Matlab) then no such error comes up
and the computation is just fine.

For scenario 'A' i checked if values were being passed from MATLAB to
GAMS properly and i see that the passing of values is proper(checked
the "matdata.gdx" file).

Can anyone suggest as to where the problem may lie and how can one
nail it down.

Regards,
Sumit



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---

Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: Super Basic Variables

Post by Archiver »



Sumit,

Make sure you use the same solver when you run from MATLAB and from
native GAMS. Without more details it is tough to analyse this further.

Hope this helps.
Michael Bussieck - GAMSWorld Coordinator

On Oct 6, 4:33 pm, sskhera wrote:
> > Hello,
> >
> > I am trying to use the interface between GAMS and MATLAB. I am calling
> > GAMS through MATLAB by giving relevant inputs to GAMS.
> >
> > I have to following scenario's
> >
> > A. ) On calling GAMS from MATLAB i see an error( in the *.lst file)
> > which says
> >
> > ** Optimal solution. There are
> > no superbasic variables.
> >
> > and the objective value computed goes to zero and the variable
> > being determined is set to its lower bound values.
> >
> > B.) If i manually feed in the input to GAMS and run GAMS
> > independently(no interface with Matlab) then no such error comes up
> > and the computation is just fine.
> >
> > For scenario 'A' i checked if values were being passed from MATLAB to
> > GAMS properly and i see that the passing of values is proper(checked
> > the "matdata.gdx" file).
> >
> > Can anyone suggest as to where the problem may lie and how can one
> > nail it down.
> >
> > Regards,
> > Sumit
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Post Reply