Browsable Low Level Linear Programming Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: api/rascal/lllinear/extracted
Source used for this grammar: Paul Klint, Jurgen J. Vinju, analysis::linearprogramming::LLLinearProgramming, 2009–2013 [Explore]

Summary

Syntax

LLCoefficients ::=
	integer*
LLObjectiveFun ::=
	[llObjFun]::(coefficients⟩:LLCoefficientsconst⟩:integer)
ConstraintType ::=
	[leq]::ε
	[eq]::ε
	[geq]::ε
LLConstraint ::=
	[llConstraint]::(coefficients⟩:LLCoefficientsctype⟩:ConstraintTypeconst⟩:integer)
LLConstraints ::=
	LLConstraint*
LLVariableVals ::=
	integer*
LLSolution ::=
	[llSolution]::(varVals⟩:LLVariableValsfunVal⟩:integer)

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []