/dports/math/highs/HiGHS-cfe064e/src/presolve/ |
H A D | HighsLpPropagator.cpp | 433 colLower_[boundchg.column] = boundchg.boundval; in doChangeBound() 434 updateActivityLbChange(boundchg.column, oldbound, boundchg.boundval); in doChangeBound() 437 colUpper_[boundchg.column] = boundchg.boundval; in doChangeBound() 447 if (boundchg.boundval > colUpper_[boundchg.column]) { in changeBound() 448 if (boundchg.boundval - colUpper_[boundchg.column] > 1e-6) { in changeBound() 453 boundchg.boundval = colUpper_[boundchg.column]; in changeBound() 454 if (boundchg.boundval == colLower_[boundchg.column]) return; in changeBound() 457 if (boundchg.boundval < colLower_[boundchg.column]) { in changeBound() 458 if (colLower_[boundchg.column] - boundchg.boundval > 1e-6) { in changeBound() 463 boundchg.boundval = colLower_[boundchg.column]; in changeBound() [all …]
|
H A D | HighsLpPropagator.h | 71 double doChangeBound(const HighsDomainChange& boundchg); 94 void changeBound(HighsDomainChange boundchg);
|
/dports/math/highs/HiGHS-cfe064e/src/mip/ |
H A D | HighsDomain.cpp | 585 colLower_[boundchg.column] = boundchg.boundval; in doChangeBound() 594 colUpper_[boundchg.column] = boundchg.boundval; in doChangeBound() 611 if (boundchg.boundval <= colLower_[boundchg.column]) return; in changeBound() 612 if (boundchg.boundval > colUpper_[boundchg.column]) { in changeBound() 613 if (boundchg.boundval - colUpper_[boundchg.column] > in changeBound() 619 boundchg.boundval = colUpper_[boundchg.column]; in changeBound() 620 if (boundchg.boundval == colLower_[boundchg.column]) return; in changeBound() 623 if (boundchg.boundval >= colUpper_[boundchg.column]) return; in changeBound() 624 if (boundchg.boundval < colLower_[boundchg.column]) { in changeBound() 625 if (colLower_[boundchg.column] - boundchg.boundval > in changeBound() [all …]
|
H A D | HighsDomain.h | 73 double doChangeBound(const HighsDomainChange& boundchg); 159 void changeBound(HighsDomainChange boundchg, int reason = -1);
|
/dports/math/SCIP/scip-7.0.3/tests/src/lpi/ |
H A D | boundchg.c | 68 TestSuite(boundchg, .init = setup, .fini = teardown); 71 Test(boundchg, simple_bound_test) in Test() argument 89 Test(boundchg, change_bound_by_small_value) in Test() argument 109 Test(boundchg, fix_to_infinity) in Test() argument
|
/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | pub_var.h | 1348 SCIP_BOUNDCHG* boundchg /**< bound change data */ 1354 SCIP_BOUNDCHG* boundchg /**< bound change data */ 1360 SCIP_BOUNDCHG* boundchg /**< bound change data */ 1366 SCIP_BOUNDCHG* boundchg /**< bound change data */ 1372 SCIP_BOUNDCHG* boundchg /**< bound change data */ 1453 #define SCIPboundchgGetNewbound(boundchg) ((boundchg)->newbound) argument 1454 #define SCIPboundchgGetVar(boundchg) ((boundchg)->var) argument 1455 #define SCIPboundchgGetBoundchgtype(boundchg) ((SCIP_BOUNDCHGTYPE)((boundchg)->boundchgtype)) argument 1456 #define SCIPboundchgGetBoundtype(boundchg) ((SCIP_BOUNDTYPE)((boundchg)->boundtype)) argument 1457 #define SCIPboundchgIsRedundant(boundchg) ((boundchg)->redundant) argument
|
H A D | var.c | 569 assert(boundchg != NULL); in SCIPboundchgApply() 578 if( boundchg->redundant ) in SCIPboundchgApply() 581 var = boundchg->var; in SCIPboundchgApply() 729 if( !boundchg->applied && !boundchg->redundant ) in SCIPboundchgApply() 763 assert(boundchg != NULL); in SCIPboundchgUndo() 767 if( boundchg->redundant ) in SCIPboundchgUndo() 770 var = boundchg->var; in SCIPboundchgUndo() 852 assert(boundchg != NULL); in boundchgApplyGlobal() 1364 SCIP_BOUNDCHG* boundchg; in SCIPdomchgAddBoundchg() local 1397 boundchg->var = var; in SCIPdomchgAddBoundchg() [all …]
|
H A D | var.h | 69 SCIP_BOUNDCHG* boundchg, /**< bound change to apply */ 83 SCIP_BOUNDCHG* boundchg, /**< bound change to remove */
|
H A D | cons_orbitope.c | 1433 SCIP_BOUNDCHG* boundchg; in computeDynamicRowOrder() local 1447 boundchg = SCIPdomchgGetBoundchg(domchg, i); in computeDynamicRowOrder() 1448 assert( boundchg != NULL ); in computeDynamicRowOrder() 1451 if ( SCIPboundchgGetBoundchgtype(boundchg) != SCIP_BOUNDCHGTYPE_BRANCHING ) in computeDynamicRowOrder() 1455 branchvar = SCIPboundchgGetVar(boundchg); in computeDynamicRowOrder()
|
H A D | prop_symmetry.c | 3140 SCIP_BOUNDCHG* boundchg; in computeBranchingVariables() local 3158 boundchg = SCIPdomchgGetBoundchg(domchg, i); in computeBranchingVariables() 3159 assert( boundchg != NULL ); in computeBranchingVariables() 3162 if ( SCIPboundchgGetBoundchgtype(boundchg) != SCIP_BOUNDCHGTYPE_BRANCHING ) in computeBranchingVariables() 3166 branchvar = SCIPboundchgGetVar(boundchg); in computeBranchingVariables()
|
H A D | scip_var.c | 2779 SCIP_BOUNDCHG* boundchg; in SCIPendStrongbranch() local 2781 boundchg = SCIPdomchgGetBoundchg(domchg, i); in SCIPendStrongbranch() 2784 if( SCIPboundchgIsRedundant(boundchg) ) in SCIPendStrongbranch() 2787 boundchgvars[nbnds] = SCIPboundchgGetVar(boundchg); in SCIPendStrongbranch() 2788 bounds[nbnds] = SCIPboundchgGetNewbound(boundchg); in SCIPendStrongbranch() 2789 boundtypes[nbnds] = SCIPboundchgGetBoundtype(boundchg); in SCIPendStrongbranch()
|
H A D | tree.c | 2503 SCIP_BOUNDCHG* boundchg; in SCIPnodePropagateImplics() local 2506 boundchg = SCIPdomchgGetBoundchg(node->domchg, i); in SCIPnodePropagateImplics() 2509 if( SCIPboundchgIsRedundant(boundchg) ) in SCIPnodePropagateImplics() 2512 var = SCIPboundchgGetVar(boundchg); in SCIPnodePropagateImplics() 2524 varfixing = (SCIPboundchgGetBoundtype(boundchg) == SCIP_BOUNDTYPE_LOWER); in SCIPnodePropagateImplics()
|
/dports/math/py-PySCIPOpt/PySCIPOpt-3.0.2/src/pyscipopt/ |
H A D | scip.pxd | 670 SCIP_Real SCIPboundchgGetNewbound(SCIP_BOUNDCHG* boundchg) 671 SCIP_VAR* SCIPboundchgGetVar(SCIP_BOUNDCHG* boundchg) 672 SCIP_BOUNDCHGTYPE SCIPboundchgGetBoundchgtype(SCIP_BOUNDCHG* boundchg) 673 SCIP_BOUNDTYPE SCIPboundchgGetBoundtype(SCIP_BOUNDCHG* boundchg) 674 SCIP_Bool SCIPboundchgIsRedundant(SCIP_BOUNDCHG* boundchg)
|
H A D | scip.pyx | 568 boundchg = BoundChange() 569 boundchg.scip_boundchg = scip_boundchg 570 return boundchg
|