From 246b090626c7872128038645bd75bf106cc33d7f Mon Sep 17 00:00:00 2001 From: RXGottlieb <36906916+RXGottlieb@users.noreply.github.com> Date: Thu, 15 Jun 2023 12:41:29 -0400 Subject: [PATCH] Incorporated unbounded variable check Added the unbounded variable check to the initialize_stack! function, which takes place at the beginning of global_solve! --- src/eago_optimizer/optimize/nonconvex/stack_management.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eago_optimizer/optimize/nonconvex/stack_management.jl b/src/eago_optimizer/optimize/nonconvex/stack_management.jl index 9004540f..33179058 100644 --- a/src/eago_optimizer/optimize/nonconvex/stack_management.jl +++ b/src/eago_optimizer/optimize/nonconvex/stack_management.jl @@ -265,6 +265,7 @@ Prepare the stack for the branch-and-bound routine. By default, create an initial node with the variable bounds as box constraints and add it to the stack. """ function initialize_stack!(t::ExtensionType, m::GlobalOptimizer) + unbounded_check!(m) d = _working_variable_info.(m, m._branch_to_sol_map) push!(m._stack, NodeBB(lower_bound.(d), upper_bound.(d), is_integer.(d))) m._node_count = 1