Data, Init and Calc Sections

Typically, when dealing with a model’s data, you need to assign set members to sets and give values to some set attributes before LINGO can solve your model. For this purpose, LINGO gives the user three optional sections, the data section for inputting set members and data values, the init section for setting the starting values for decision variables, and the calc section for performing computations on raw input data.