|
creates a sparse solution
- Parameters
-
sparsesol | pointer to store the created sparse solution |
vars | variables in the sparse solution, must not contain continuous variables |
nvars | number of variables to store, size of the lower and upper bound arrays |
cleared | should the lower and upper bound arrays be cleared (entries set to 0) |
frees sparse solution
- Parameters
-
sparsesol | pointer to a sparse solution |
returns the variables in the given sparse solution
- Parameters
-
sparsesol | a sparse solution |
returns the number of variables in the given sparse solution
- Parameters
-
sparsesol | a sparse solution |
returns the the lower bound array for all variables for a given sparse solution
- Parameters
-
sparsesol | a sparse solution |
returns the the upper bound array for all variables for a given sparse solution
- Parameters
-
sparsesol | a sparse solution |
constructs the first solution of sparse solution (all variables are set to their lower bound value
- Parameters
-
sparsesol | sparse solutions |
sol | array to store the first solution |
nvars | number of variables |
constructs the next solution of the sparse solution and return whether there was one more or not
- Parameters
-
sparsesol | sparse solutions |
sol | current solution array which get changed to the next solution |
nvars | number of variables |
|