Hello GAMS world,
Is there any way to visualize the constraints matrix structure?, or how to export the constraints matrix to plot it in Matlab?.
Thanks in advance for your support,
Sincerely yours,
Pedro
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.
Pedro,
You can do this by exporting the constraints into GDX using GAMS/Convert, and then reading from GDX into Matlab via GDXMRW. The attached example shows how to do this. This seems like a nice general example so I added something similar to our data utilities library.
-Steve
On Mon, Sep 9, 2013 at 6:10 AM, PowerChile wrote:
Hello GAMS world,
Is there any way to visualize the constraints matrix structure?, or how to export the constraints matrix to plot it in Matlab?.
Thanks in advance for your support,
Sincerely yours,
Pedro
–
jacDump.gms (1.18 KB)
Dear Steve,
Thank you very much,
Sincerely yours,
Pedro
On Mon, Sep 9, 2013 at 6:44 PM, Steven Dirkse wrote:
Pedro,
You can do this by exporting the constraints into GDX using GAMS/Convert, and then reading from GDX into Matlab via GDXMRW. The attached example shows how to do this. This seems like a nice general example so I added something similar to our data utilities library.
-Steve
On Mon, Sep 9, 2013 at 6:10 AM, PowerChile wrote:
Hello GAMS world,
Is there any way to visualize the constraints matrix structure?, or how to export the constraints matrix to plot it in Matlab?.
Thanks in advance for your support,
Sincerely yours,
Pedro
Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdirkse@gams.com
http://www.gams.com
PEDRO JAVIER RAMÃREZ TORREALBA
Ingeniero Civil Eléctrico PUC
MSc en IngenierÃa Eléctrica PUC
Londres, REINO UNIDO
Celular: +44-(0)75-8069-3119
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.