Super Basic Variables

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
-~----------~----~----~----~------~----~------~–~—

\

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
-~----------~----~----~----~------~----~------~–~—

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
-~----------~----~----~----~------~----~------~–~—

\