Loading...
Searching...
No Matches
core_example2.py File Reference

Go to the source code of this file.

Functions

def core_example2.terminate (gdx_h, opt_h, rc)
 
def core_example2.report_gdx_error (gdx_h, s)
 
def core_example2.write_model_data (gdx_h, gdx_file)
 
def core_example2.call_gams (opt_h, sys_dir, model)
 
def core_example2.read_solution_data (gdx_h, gdx_file)
 

Variables

argparse core_example2.parser = argparse.ArgumentParser()
 
 core_example2.nargs
 
 core_example2.default
 
argparse core_example2.args = parser.parse_args()
 
gdx core_example2.gdx_h = gdx.new_gdxHandle_tp()
 
opt core_example2.opt_h = opt.new_optHandle_tp()
 
argparse core_example2.sys_dir = args.sysDir
 
tuple core_example2.model
 
gdx core_example2.rc = gdx.gdxCreateD(gdx_h, sys_dir, gdx.GMS_SSSIZE)
 
def core_example2.status = write_model_data(gdx_h, "demanddata.gdx")