Detailed mind map
Assignment Problem and Sequencing
Every topic and subtopic. Tap a topic to open its notes.
Swipe sideways to explore branches, or tap Stack Cards above.
Assignment and Hungarian method
4 ideas
Trick: Row min -> Col min -> Cover zeros -> If lines < n, shrink uncovered by k and fatten intersections by k.
Assignment model
Assign n resources to n tasks one-to-one (x_ij = 0 or 1) to minimize total cost.
Row and column reduction
Subtract each row's minimum, then subtract each column's minimum from its entries.
Minimum lines covering zeros
Cover all zeros with the fewest horizontal and vertical lines; stop if lines = n.
Matrix modification step
If lines < n, subtract min uncovered k from uncovered cells and add k to intersections.
Special assignment cases
4 ideas
Trick: Short table? Pad with 0s. Maximization? Subtract from biggest number. Forbidden cell? Put infinity.
Unbalanced problem
Rows != columns; add dummy row(s) or column(s) filled with zeros to make a square matrix.
Maximization problem
Convert profit/sales matrix to loss matrix by subtracting every entry from the max entry.
Restricted assignment
Prohibited cells are given a huge penalty (infinity) so they are never chosen.
Alternative optimal solutions
Extra zeros allow distinct zero-assignments that give the exact same optimal total.
Mind MapAssignment Problem and Sequencing4 topics · 15 ideas
Sequencing n jobs on 2 machines
4 ideas
Trick: A stands for Ahead (front of queue); B stands for Back (end of queue).
Sequencing assumptions
One job per machine at a time, no interruption, fixed order A -> B, zero transfer time.
Total elapsed time (T)
Total time from start of first job on machine A to finish of last job on machine B.
Johnson's rule (2 machines)
Pick smallest time; if on A place job first, if on B place job last.
Machine idle time
Difference between total elapsed time T and sum of processing times on that machine.
Sequencing n jobs on 3 machines
3 ideas
Trick: Middle machine B must be no slower than the fastest end machine (min A or min C >= max B); merge A+B and B+C.
Reduction condition
At least one extreme machine's minimum must be >= the middle machine's maximum.
Fictitious machines G and H
Combine times into two dummy machines G_i = A_i + B_i and H_i = B_i + C_i.
Elapsed and idle time table
After finding the sequence from G and H, build the In-Out table on original A, B, C.