Learn R Programming

goxygen (version 1.0.3)

gamsequation2tex: gamsequation2tex

Description

Convert a gams equation into latex code

Usage

gamsequation2tex(x)

Value

GAMS equation converted to latex code

Arguments

x

GAMS equation provided as character

Author

Jan Philipp Dietrich

See Also

goxygen

Examples

Run this code

  x <- "eq_1 .. v_a =e= sum(j,v_b(j)*((1-s_c)+sum(cell(i,j),v_d(i)/f_d(i))));"
  cat(gamsequation2tex(x))

Run the code above in your browser using DataLab