gdxmrw_tr3.gms : canonical form LP created in Matlab and solved via gams() Mex-function

Description

We solve an LP model in GAMS with the data coming from Matlab:
 c.f. the file tr3_run.m, which runs this example.
The style we use here pushes all the modeling work to Matlab - the GAMS
model just gets (A,b,c) from Matlab and go with that.  This is makes for a
well-defined interface but if you don't already have the model set up in
canonical form in Matlab it will be lots of work get it there.

Also, this example exchanges data in both directions via the deprecated
gams() Mex-function.  This has a nice subroutine feel but there are more
ways to go wrong with this calling style and more expertise is required to
fix things when this happens.  Use at your own risk!

Contributor: Steven Dirkse, December 2014


Category : GAMS Data Utilities library


Main file : gdxmrw_tr3.gms   includes :  trdata.m  gdxmrw_tr3.gms  tr3_run.m  tr3_mod.gms

$Title LP with data from GDXMRW - canonical LP form

$ontext
We solve an LP model in GAMS with the data coming from Matlab:
 c.f. the file tr3_run.m, which runs this example.
The style we use here pushes all the modeling work to Matlab - the GAMS
model just gets (A,b,c) from Matlab and go with that.  This is makes for a
well-defined interface but if you don't already have the model set up in
canonical form in Matlab it will be lots of work get it there.

Also, this example exchanges data in both directions via the deprecated
gams() Mex-function.  This has a nice subroutine feel but there are more
ways to go wrong with this calling style and more expertise is required to
fix things when this happens.  Use at your own risk!

Contributor: Steven Dirkse, December 2014

$offtext

$log *** ---------------------------------------------------------------
$log This GMS file is just a placeholder!!
$log To run this example, start Matlab and run the M-script tr3_run that
$log came with this file.
$log *** ---------------------------------------------------------------