/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | reader_diff.c | 717 assert(coefssize != NULL); in readCoefficients() 723 *coefssize = 0; in readCoefficients() 769 *coefssize = LP_INIT_COEFSSIZE; in readCoefficients() 867 if( *ncoefs >= *coefssize ) in readCoefficients() 871 oldcoefssize = *coefssize; in readCoefficients() 872 *coefssize *= 2; in readCoefficients() 873 *coefssize = MAX(*coefssize, (*ncoefs)+1); in readCoefficients() 877 assert(*ncoefs < *coefssize); in readCoefficients() 906 int coefssize; in readObjective() local 918 SCIPfreeBlockMemoryArrayNull(scip, &coefs, coefssize); in readObjective() [all …]
|
H A D | reader_lp.c | 920 assert(coefssize != NULL); in readCoefficients() 932 *coefssize = 0; in readCoefficients() 990 *coefssize = LP_INIT_COEFSSIZE; in readCoefficients() 1227 if( *ncoefs >= *coefssize ) in readCoefficients() 1230 oldcoefssize = *coefssize; in readCoefficients() 1231 *coefssize *= 2; in readCoefficients() 1232 *coefssize = MAX(*coefssize, (*ncoefs)+1); in readCoefficients() 1236 assert(*ncoefs < *coefssize); in readCoefficients() 1307 int coefssize; in readObjective() local 1380 SCIPfreeBlockMemoryArrayNull(scip, &vars, coefssize); in readObjective() [all …]
|
H A D | heur_subnlp.c | 615 int coefssize; in addLogicOrConstraints() local 628 coefssize = 0; in addLogicOrConstraints() 638 if( coefssize < nvars ) in addLogicOrConstraints() 650 coefssize = nvars; in addLogicOrConstraints() 683 int coefssize; in addSetppcConstraints() local 698 coefssize = 0; in addSetppcConstraints() 708 if( coefssize < nvars ) in addSetppcConstraints() 720 coefssize = nvars; in addSetppcConstraints() 775 int coefssize; in addKnapsackConstraints() local 789 coefssize = 0; in addKnapsackConstraints() [all …]
|
H A D | prop_genvbounds.c | 93 int coefssize; /**< size of coefs array */ member 651 SCIPfreeBlockMemoryArray(scip, &(genvbound->coefs), genvbound->coefssize); in freeGenVBound() 652 SCIPfreeBlockMemoryArray(scip, &(genvbound->vars), genvbound->coefssize); in freeGenVBound() 2191 SCIPfreeBlockMemoryArray(scip, &(genvbound->coefs), genvbound->coefssize); in SCIPgenVBoundAdd() 2192 SCIPfreeBlockMemoryArray(scip, &(genvbound->vars), genvbound->coefssize); in SCIPgenVBoundAdd() 2197 genvbound->coefssize = ncoefs; in SCIPgenVBoundAdd() 2211 if( genvbound->coefssize < ncoefs ) in SCIPgenVBoundAdd() 2215 genvbound->coefssize = ncoefs; in SCIPgenVBoundAdd() 2233 genvbound->coefssize = ncoefs; in SCIPgenVBoundAdd() 2480 if( genvbound->coefssize < requiredsize ) in SCIP_DECL_PROPEXITPRE() [all …]
|
H A D | heur_dualval.c | 485 int coefssize; in addLogicOrConstraints() local 498 coefssize = 0; in addLogicOrConstraints() 508 if( coefssize < nvars ) in addLogicOrConstraints() 520 coefssize = nvars; in addLogicOrConstraints() 553 int coefssize; in addSetppcConstraints() local 568 coefssize = 0; in addSetppcConstraints() 578 if( coefssize < nvars ) in addSetppcConstraints() 590 coefssize = nvars; in addSetppcConstraints() 646 int coefssize; in addKnapsackConstraints() local 660 coefssize = 0; in addKnapsackConstraints() [all …]
|
H A D | cons_setppc.c | 8615 int coefssize; in SCIP_DECL_CONSPARSE() local 8619 coefssize = 100; in SCIP_DECL_CONSPARSE() 8620 SCIP_CALL( SCIPallocBufferArray(scip, &vars, coefssize) ); in SCIP_DECL_CONSPARSE() 8621 SCIP_CALL( SCIPallocBufferArray(scip, &coefs, coefssize) ); in SCIP_DECL_CONSPARSE() 8624 …SCIP_CALL( SCIPparseVarsLinearsum(scip, str, vars, coefs, &nvars, coefssize, &requsize, &endptr, s… in SCIP_DECL_CONSPARSE() 8626 if( *success && requsize > coefssize ) in SCIP_DECL_CONSPARSE() 8629 coefssize = requsize; in SCIP_DECL_CONSPARSE() 8630 SCIP_CALL( SCIPreallocBufferArray(scip, &vars, coefssize) ); in SCIP_DECL_CONSPARSE() 8631 SCIP_CALL( SCIPreallocBufferArray(scip, &coefs, coefssize) ); in SCIP_DECL_CONSPARSE() 8633 …SCIP_CALL( SCIPparseVarsLinearsum(scip, str, vars, coefs, &nvars, coefssize, &requsize, &endptr, s… in SCIP_DECL_CONSPARSE() [all …]
|
H A D | cons_linear.c | 16902 int coefssize; in SCIP_DECL_CONSPARSE() local 17017 coefssize = 100; in SCIP_DECL_CONSPARSE() 17018 SCIP_CALL( SCIPallocBufferArray(scip, &vars, coefssize) ); in SCIP_DECL_CONSPARSE() 17019 SCIP_CALL( SCIPallocBufferArray(scip, &coefs, coefssize) ); in SCIP_DECL_CONSPARSE() 17024 …SCIP_CALL( SCIPparseVarsLinearsum(scip, varstrptr, vars, coefs, &nvars, coefssize, &requsize, &end… in SCIP_DECL_CONSPARSE() 17026 if( *success && requsize > coefssize ) in SCIP_DECL_CONSPARSE() 17029 coefssize = requsize; in SCIP_DECL_CONSPARSE() 17030 SCIP_CALL( SCIPreallocBufferArray(scip, &vars, coefssize) ); in SCIP_DECL_CONSPARSE() 17031 SCIP_CALL( SCIPreallocBufferArray(scip, &coefs, coefssize) ); in SCIP_DECL_CONSPARSE() 17033 …SCIP_CALL( SCIPparseVarsLinearsum(scip, varstrptr, vars, coefs, &nvars, coefssize, &requsize, &end… in SCIP_DECL_CONSPARSE() [all …]
|