R/solve_carnival.R
sendTaskToSolver.RdExecutes the solve on the provided ILP formulation (in .lp file).
sendTaskToSolver( variables, dataPreprocessed, carnivalOptions, newDataRepresentation = T )
| variables | list of nodes, edges and measurements variables generated by createLpFormulation_v2. |
|---|---|
| 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. |
solution matrix from ILP solver containing variables list (rows) and their values in different solutions (columns).