solver-ampl: AMPL Interface

Description Usage Arguments Value Author(s) References

Description

R/AMPL Interface functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
amplModelOpen(project)  
amplModelAdd(model, project)      
amplModelShow(project)       

amplDataOpen(project)     
amplDataAdd(name, data, type, project) 
amplDataAddValue(data, value, project)  
amplDataAddVector(data, vector, project)  
amplDataAddMatrix(data, matrix, project) 
amplDataSemicolon(project)  
amplDataShow(project)        

amplRunOpen(project)         
amplRunAdd(run, project)          
amplRunShow(project)        

amplOutShow(project)      

Arguments

project

a character string, the AMPL project name.

model

...

data

...

run

...

type

...

name

...

value

...

vector

...

matrix

...

Value

returns AMPL files.

Author(s)

Diethelm Wuertz.

References

Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.


fPortfolio documentation built on March 26, 2020, 9:17 p.m.