# Warning: this is a draft, please do not start until the homework is announced on Canvas


# CP2 Experimental Project


📗 In this project, you will plan the routes of 2 cars to pick up groceries.
➩ You will get 10 units of utility (happiness) for each item on your grocery list.
➩ Your routes should be paths along a graph where the edges represent roads and the nodes represent grocery stores: each road has an integer length measured in miles, and each grocery store a list of items with possibly different prices (integers between 0 and 9) measured in units of utility (happiness).
➩ You can pick the initial positions of your cars, and each of your car can drive a maximum of 5000 miles.
➩ Your plan should take into consideration of the other students' routes: there is only one copy of each item in each grocery store, so you might not get an item if another student bought it before you arrive at the store. In case of ties, the item will be given to the student with an ID closer to the store ID.
➩ The goal is to maximize the total units of utility you get from the groceries minus the prices you paid for them, obtained from both cars.

➩ (Clarification) When each car arrives at a store, it will pick up all the items on your grocery list that are still available at that store. If two of your cars try to pick up the same item at the same time, priority will be given to the first car.

# Data


📗 You grocery list is based on your Wisc Net ID (if your Wisc email is xyz123@wisc.edu, please enter xyz123): . Please enter your ID and click this: .
➩ Your grocery list will be: .

➩ (Clarification) Item 0 in the list is the first item, item 1 in the list is the second item, etc. There could be duplicate items in your grocery list, and in that case, you need to visit multiple stores to get multiple copies of that item.

📗 You can choose to be in one of two groups, and the grocery stores will be different for these two groups. In the lists, there are 200 stores, and each store has the following properties (in this order).
➩ ID (4 digit unique ID),
➩ Icon (text),
➩ The prices of each of the 100 items (-1 means the store does not have the item).
➩ The adjacency list and the edge weight (pairs of numbers: ID of the other store then distance (in miles) to that store).

Group 1 Data

Group 2 Data


# Submission


📗 Please use the following form to generate a text file and submit it to the Canvas Assignment CP2.

📗 Wisc Net ID (the ??? in ???@wisc.edu):
📗 Group (either 1 or 2):
📗 Player Icon (text from this list):
📗 Player ID (a number between 0 and 9999):
📗 Car 1 path (list of grocery store IDs):
📗 Car 2 path (list of grocery store IDs):

📗 Output file:


# Grading


📗 The better of the two rankings from the trial competition and the final competition will determine your grade (out of 15).
➩ Any valid submission: 5 points.
➩ Outperforming the randomly generated submission: 5 points.
➩ The remaining 10 points are based on the ranking in the class (44 students + 1 random generated submission based on the ID "test").
➩ Top 2 submissions: 10 points.
➩ Next 3 submissions (Top 5): 9 points.
➩ Next 5 submissions (Top 10): 8 points.
➩ Next 5 submissions (Top 15): 7 points.
➩ Next 5 submissions (Top 20): 6 points.
➩ Next 5 submissions (Top 25): 5 points.
➩ Next 5 submissions (Top 30): 4 points.
➩ Next 5 submissions (Top 35): 3 points.
➩ Next 5 submissions (Top 40): 2 points.
➩ Next 5 submissions (Top 45): 1 points.






Last Updated: November 25, 2025 at 1:46 AM