Update app.py
Browse files
app.py
CHANGED
|
@@ -309,24 +309,10 @@ else:
|
|
| 309 |
st.success("**Your single, most important goal is to: Minimize the total cost for your position in the supply chain.**")
|
| 310 |
st.markdown("You get costs from two things every week:")
|
| 311 |
st.markdown(f"""
|
| 312 |
-
- **Holding Inventory:** **${HOLDING_COST:,.2f} per unit per week
|
| 313 |
-
- **Backlog (Unfilled Orders):** **${BACKLOG_COST:,.2f} per unit per week
|
| 314 |
""")
|
| 315 |
|
| 316 |
-
with st.expander("Click to see a cost calculation example"):
|
| 317 |
-
st.markdown(f"""
|
| 318 |
-
Imagine at the end of Week 5, your dashboard shows:
|
| 319 |
-
- `Current Inventory: 20`
|
| 320 |
-
- `Current Backlog: 3`
|
| 321 |
-
|
| 322 |
-
Your cost for Week 5 would be:
|
| 323 |
-
- `(20 units of Inventory * ${HOLDING_COST:,.2f})` = $10.00
|
| 324 |
-
- `(3 units of Backlog * ${BACKLOG_COST:,.2f})` = $3.00
|
| 325 |
-
- **Total Weekly Cost:** = **$13.00**
|
| 326 |
-
|
| 327 |
-
Your goal is to keep this number as low as possible, every week.
|
| 328 |
-
""")
|
| 329 |
-
|
| 330 |
st.subheader("2. Your Role: The Distributor")
|
| 331 |
st.markdown("""
|
| 332 |
You will always play as the **Distributor**. The other 3 roles are played by AI.
|
|
|
|
| 309 |
st.success("**Your single, most important goal is to: Minimize the total cost for your position in the supply chain.**")
|
| 310 |
st.markdown("You get costs from two things every week:")
|
| 311 |
st.markdown(f"""
|
| 312 |
+
- **Holding Inventory:** **${HOLDING_COST:,.2f} per unit per week.
|
| 313 |
+
- **Backlog (Unfilled Orders):** **${BACKLOG_COST:,.2f} per unit per week.
|
| 314 |
""")
|
| 315 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
st.subheader("2. Your Role: The Distributor")
|
| 317 |
st.markdown("""
|
| 318 |
You will always play as the **Distributor**. The other 3 roles are played by AI.
|