Hi, this is my approach to the problem:
- Apply Dijkstra for each of the possible subsets of people into a car.
- Then i have to find disjoint-subsets (which represent people in the cars) whose union has all the people and their sum of costs (obtained by Dijkstra) is minimal.
For the second part i ...
Search found 21 matches
- Tue Sep 25, 2007 3:01 am
- Forum: Volume 112 (11200-11299)
- Topic: 11288 - Carpool
- Replies: 1
- Views: 1589
- Mon Jan 22, 2007 9:00 pm
- Forum: Algorithms
- Topic: General Weighted Perfect Matching
- Replies: 2
- Views: 2279
- Fri Jan 19, 2007 3:07 am
- Forum: Algorithms
- Topic: General Weighted Perfect Matching
- Replies: 2
- Views: 2279
General Weighted Perfect Matching
Hi, i wish to know how to solve the problem of finding a maximal matching with minimum weight in general graphs, (not just bipartite graphs), from comments about problem 10911, it seems to be an algorithm in O(2^n * n^2), wich uses DP, i am particularly interested in this solution, because i have ...
- Mon Jan 15, 2007 8:24 pm
- Forum: Bugs and suggestions
- Topic: Copyrighted problem statements
- Replies: 11
- Views: 4697
- Mon Jan 15, 2007 6:42 pm
- Forum: Bugs and suggestions
- Topic: Copyrighted problem statements
- Replies: 11
- Views: 4697
Actually, 11157 is (almost) the same as a past regional contest (SWERC 01) problem:
http://acmicpc-live-archive.uva.es/nuev ... php?p=2425
so, this should have been called, the "pirat" contest
http://acmicpc-live-archive.uva.es/nuev ... php?p=2425
so, this should have been called, the "pirat" contest

- Tue Dec 12, 2006 11:15 pm
- Forum: Algorithms
- Topic: Problem J - World Finals 2005
- Replies: 11
- Views: 7907
- Sat Oct 28, 2006 2:43 am
- Forum: Volume 111 (11100-11199)
- Topic: 11144 - S.O.S.
- Replies: 13
- Views: 6440
- Fri Sep 29, 2006 2:31 am
- Forum: Volume 7 (700-799)
- Topic: 796 - Critical Links
- Replies: 54
- Views: 32069
- Sun Sep 24, 2006 2:15 am
- Forum: Volume 110 (11000-11099)
- Topic: 11095 - Tabriz City
- Replies: 14
- Views: 7726
- Wed Sep 13, 2006 8:02 pm
- Forum: Other words
- Topic: 2007 world finals IN JAPAN?
- Replies: 20
- Views: 12570
- Wed Sep 06, 2006 7:02 pm
- Forum: Algorithms
- Topic: MinCost MaxFlow code
- Replies: 20
- Views: 18677
- Wed Aug 30, 2006 1:57 am
- Forum: Algorithms
- Topic: MinCost MaxFlow code
- Replies: 20
- Views: 18677
- Thu Aug 24, 2006 8:40 pm
- Forum: Algorithms
- Topic: MinCost MaxFlow code
- Replies: 20
- Views: 18677
MinCost MaxFlow code
hi, in the past days i have read somewhat about the mincost maxflow algorithm, and i have realized this seems to be an "obscure" topic, because although there is information about the algorithms, little is covered about an actual implementation in a language like c++, this has been what i have ...
- Mon Jun 05, 2006 3:45 am
- Forum: Volume 110 (11000-11099)
- Topic: 11042 - Complex, difficult and complicated
- Replies: 20
- Views: 17542
- Sat Jun 03, 2006 5:46 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11036 - Eventually Periodic Sequence
- Replies: 22
- Views: 8576