R/solve_carnival.R
prepareForCarnivalRun.Rd
Prepares ILP formulation and writes it to .lp file. Currently supports the old data representation (CARNIVAL v.<2) for debugging and testing if any problems arise with the new way to generate variables.
prepareForCarnivalRun( dataPreprocessed, carnivalOptions, newDataRepresentation = T )
dataPreprocessed | list containing preprocessed priorKnowledgeNetwork, measurements, weights (if provided), perturbations (if provided). |
---|---|
carnivalOptions | all options of CARNIVAL. |
newDataRepresentation | TRUE by default. For debugging with the old data representation, put to FALSE. |
list with all variables and ILP formulation written in .lp file.