|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Sparse solution Detailed Description
Function Documentation
creates a sparse solution
Definition at line 507 of file misc.c. References BMSallocClearMemoryArray, BMSallocMemory, BMSallocMemoryArray, BMSduplicateMemoryArray, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by collectSolution().
frees sparse solution
Definition at line 559 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 573 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 583 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 593 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 603 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 613 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 636 of file misc.c. References FALSE, NULL, SCIP_Bool, SCIP_Longint, SCIPsparseSolGetLbs(), SCIPsparseSolGetNVars(), SCIPsparseSolGetUbs(), and TRUE. Referenced by writeExpandedSolutions(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||