Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AppAlgo-SoSe24
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
voic00
AppAlgo-SoSe24
Commits
f3aa1a1a
"git@git.imp.fu-berlin.de:begendiv/gep.git" did not exist on "a5d5b0a8fd2686f7c351a7c83b6020b9c198ddef"
Commit
f3aa1a1a
authored
1 year ago
by
Hannah Ritter
Browse files
Options
Downloads
Patches
Plain Diff
comment
parent
fe75225a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/branchcut.py
+1
-0
1 addition, 0 deletions
src/branchcut.py
with
1 addition
and
0 deletions
src/branchcut.py
+
1
−
0
View file @
f3aa1a1a
...
@@ -137,6 +137,7 @@ def solve(edges: List[Tuple]):
...
@@ -137,6 +137,7 @@ def solve(edges: List[Tuple]):
# not an improvement, go to next problem in queue
# not an improvement, go to next problem in queue
if
pulp
.
value
(
current_problem
)
>=
v_star
:
if
pulp
.
value
(
current_problem
)
>=
v_star
:
break
break
# current solution improves the value of the solution, continue evaluation of the solution
else
:
else
:
# step 5
# step 5
# check if solution is integer: if yes, set current solution as best solution
# check if solution is integer: if yes, set current solution as best solution
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment