Skip to content

Conversation

AlbertLee125
Copy link

Modified _solve_GDP_subproblem
The _solve_GDP_subproblem function solves GDP subproblems by fixing disjunctions based on external variable values. It was modified to return None along with False in cases of infeasibility, allowing it to integrate smoothly with the neighbor search process.

Parameters:

external_var_value: List of external variable values.
search_type: Type of search (e.g., "Neighbor search").
config: GDPopt configuration block.

Returns:

True/False: Indicates if the primal bound is improved.
None: Returned when infeasibility occurs.

Neighbor Search
The neighbor_search function evaluates neighboring points and selects the best one, considering both objective improvement and distance (tiebreaker). If multiple neighbors have similar primal bounds, the one farther from the current point is chosen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant