gamsequation2tex: gamsequation2tex

View source: R/gamsequation2tex.R

gamsequation2texR Documentation

gamsequation2tex

Description

Convert a gams equation into latex code

Usage

gamsequation2tex(x)

Arguments

x

GAMS equation provided as character

Value

GAMS equation converted to latex code

Author(s)

Jan Philipp Dietrich

See Also

goxygen

Examples


  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))

pik-piam/goxygen documentation built on Feb. 1, 2024, 5:35 p.m.