Skip to content

Commit

Permalink
Updated cbc settings for all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqingyu committed Jun 8, 2021
1 parent 1c0eee9 commit d3bbd0b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: -1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 5000 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: 1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 0.05 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.05 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: 1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 0.05 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.05 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: 1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 0.05 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.05 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: 1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 0.05 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.05 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TimeLimit: 110000 # Solution timeout limit. For example, set_optimizer_att
#CBC-specific solver settings
logLevel: 1 # Set to 1 to enable solution output. For example, set_optimizer_attribute(model, "logLevel", 1).
maxSolutions: -1 # Terminate after this many feasible solutions have been found. For example, set_optimizer_attribute(model, "maxSolutions", 1).
maxNodes: 1 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 0.05 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.05 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)
maxNodes: 2000 # Terminate after this many branch-and-bound nodes have been evaluated. For example, set_optimizer_attribute(model, "maxNodes", 1).
allowableGap: 1 # Terminate after optimality gap is less than this value (on an absolute scale). For example, set_optimizer_attribute(model, "allowableGap", 0.05).
ratioGap: 0.01 # Terminate after optimality gap is smaller than this relative fraction. For example, set_optimizer_attribute(model, "allowableGap", 0.05).
threads: 2 # Set the number of threads to use for parallel branch & bound. For example, set_optimizer_attribute(model, "threads", 2)

0 comments on commit d3bbd0b

Please sign in to comment.