| 1 | /* ========================================================================= */cxx . . $ `<file>/external/glpk/amd_defaults.c`/ |
| 2 | /* === AMD_defaults ======================================================== */ |
| 3 | /* ========================================================================= */ |
| 4 | |
| 5 | /* ------------------------------------------------------------------------- */ |
| 6 | /* AMD, Copyright (c) Timothy A. Davis, */ |
| 7 | /* Patrick R. Amestoy, and Iain S. Duff. See ../README.txt for License. */ |
| 8 | /* email: davis at cise.ufl.edu CISE Department, Univ. of Florida. */ |
| 9 | /* web: http://www.cise.ufl.edu/research/sparse/amd */ |
| 10 | /* ------------------------------------------------------------------------- */ |
| 11 | |
| 12 | /* User-callable. Sets default control parameters for AMD. See amd.h |
| 13 | * for details. |
| 14 | */ |
| 15 | |
| 16 | #include "amd_internal.h"cxx . . $ `<file>/external/glpk/amd_internal.h`/ |
| 17 | |
| 18 | /* ========================================================================= */ |
| 19 | /* === AMD defaults ======================================================== */ |
| 20 | /* ========================================================================= */ |
| 21 | |
| 22 | GLOBALcxx . . $ `external/glpk/amd_internal.h:34:9`! void AMD_defaultscxx . . $ `external/glpk/amd_internal.h:37:9`! |
| 23 | ( |
| 24 | double Control [ ] |
| 25 | ) |
| 26 | { |
| 27 | Intcxx . . $ `external/glpk/amd_internal.h:17:9`! i ; |
| 28 | |
| 29 | if (Control != (double *) NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!) |
| 30 | { |
| 31 | for (i = 0 ; i < AMD_CONTROLcxx . . $ `external/glpk/amd.h:15:9`! ; i++) |
| 32 | { |
| 33 | Control [i] = 0 ; |
| 34 | } |
| 35 | Control [AMD_DENSEcxx . . $ `external/glpk/amd.h:18:9`!] = AMD_DEFAULT_DENSEcxx . . $ `external/glpk/amd.h:21:9`! ; |
| 36 | Control [AMD_AGGRESSIVEcxx . . $ `external/glpk/amd.h:19:9`!] = AMD_DEFAULT_AGGRESSIVEcxx . . $ `external/glpk/amd.h:22:9`! ; |
| 37 | } |
| 38 | } |