Sparse solution Detailed Description
Function Documentation
creates a sparse solution
Definition at line 512 of file misc.c. References BMSallocClearMemoryArray, BMSallocMemory, BMSallocMemoryArray, BMSduplicateMemoryArray, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by collectSolution().
frees sparse solution
Definition at line 564 of file misc.c. References BMSfreeMemory, BMSfreeMemoryArray, and NULL. Referenced by SCIP_DECL_CONSEXIT().
returns the variables in the given sparse solution returns the variables stored in the given sparse solution
Definition at line 578 of file misc.c. References NULL, and SCIP_SparseSol::vars.
returns the number of variables in the given sparse solution returns the number of variables stored in the given sparse solution
Definition at line 588 of file misc.c. References NULL, and SCIP_SparseSol::nvars. Referenced by SCIPsparseSolGetFirstSol(), SCIPsparseSolGetNextSol(), and writeExpandedSolutions().
returns the the lower bound array for all variables for a given sparse solution returns the lower bound array for all variables for a given sparse solution
Definition at line 598 of file misc.c. References SCIP_SparseSol::lbvalues, and NULL. Referenced by collectSolution(), SCIPsparseSolGetFirstSol(), and SCIPsparseSolGetNextSol().
returns the the upper bound array for all variables for a given sparse solution returns the upper bound array for all variables for a given sparse solution
Definition at line 608 of file misc.c. References NULL, and SCIP_SparseSol::ubvalues. Referenced by collectSolution(), and SCIPsparseSolGetNextSol().
constructs the first solution of sparse solution (all variables are set to their lower bound value
Definition at line 618 of file misc.c. References NULL, SCIP_Longint, SCIPsparseSolGetLbs(), and SCIPsparseSolGetNVars(). Referenced by writeExpandedSolutions().
constructs the next solution of the sparse solution and return whether there was one more or not
Definition at line 641 of file misc.c. References FALSE, NULL, SCIP_Bool, SCIP_Longint, SCIPsparseSolGetLbs(), SCIPsparseSolGetNVars(), SCIPsparseSolGetUbs(), and TRUE. Referenced by writeExpandedSolutions(). |