The Art of Problem Solving Edited
The Art of Problem Solving Edited
•The Branch and Bound algorithm is an algorithm that uses a state space
tree to solve a problem, in this case it is similar to the backtracking
algorithm.
•Branch and bound refers to all state space search methods in which all
children of the E- Node are generated before any other live node
becomes the E- Node.
KEY WORDS:
•Live node is a node that has been generated but whose children have not yet been
generated.
•E- node is a live mode whose children are currently being explored. In other words,
an E-node is a node currently being expanded.
•Dead node is generated anode that is not be expanded or explored any further. All
children of a dead node have already been expanded.
•A node is declared as promising if the bound is better than the value of the best
solution so far and further expansion is possible.
•A node is declared as non-promising if the bound is no better than the value of the
best solution so far. So no expansions are possible beyond this point. This is called
pruning the state-space tree.
JOB ASSIGNMENT PROBLEM
Job Assignment Problem is one of the fundamental combinatorial
optimization problems in its most common form.
There are many methods that can be used to solve Job Assignment
Problems.
Introduction to Assignment Problem
Similarity to Rubik's
Definition Constraints
Cube
The Assignment Problem Looking for an optimal Each worker can be assigned
is a classic optimization solution is like solving a to at most one task, each
problem that involves Rubik's Cube; all the choices task can be assigned to at
assigning a set of interact simultaneously, and most one worker, and all
"workers" to a set of small changes can make a big tasks must be assigned.
"tasks." difference.
EXAMPLE
•The job assignment problem testing will be carried out in one example
of the following cases, namely there are 4 jobs and 4 people, each of
which has a cost as in table 1.
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
THE ASSIGNMENT PROBLEM
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
•Possibility 3:
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
•Possibility 4:
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
•Possibility 2:
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
•Possibility 3:
PERSON 1 A 11 4 9 10
PERSON 2 B 8 6 5 9
PERSON 3 C 7 10 3 10
PERSON 4D 9 8 11 6
•Next 2 possibilities:
A→2
B→1
C→3
D→4