Files
cs249r_book/mlsysim/docs/api/engine.solver.PlacementOptimizer.qmd
Vijay Janapa Reddi cb0ae4082f docs(mlsysim): regenerate quartodoc API stubs for the new module layout
Run quartodoc build against the refactored package (engine/ extracted from core/,
infra->infrastructure): regenerate the API reference so every stub points at the new
paths. Adds engine.*/infrastructure.* stubs, removes the 41 stale core.solver.* /
core.engine.* / core.scenarios.* / core.config.* / core.evaluation.* / infra*.qmd
orphans, and refreshes the package pages (core now primitives-only) + index.

Verified: all 47 documented symbols resolve in the new package; every index link
resolves; zero stale mlsysim.core.<engine-mod> / mlsysim.infra references anywhere in
docs/. (objects.json inventory is gitignored -- regenerated at build.)
2026-05-29 21:35:39 -04:00

28 lines
703 B
Plaintext

# engine.solver.PlacementOptimizer { #mlsysim.engine.solver.PlacementOptimizer }
```python
engine.solver.PlacementOptimizer()
```
Finds the optimal datacenter location to minimize TCO and Carbon.
## Methods
| Name | Description |
| --- | --- |
| [solve](#mlsysim.engine.solver.PlacementOptimizer.solve) | Determines the optimal data center location to minimize TCO and carbon taxes. |
### solve { #mlsysim.engine.solver.PlacementOptimizer.solve }
```python
engine.solver.PlacementOptimizer.solve(
fleet,
duration_days,
regions=['US_Avg', 'Quebec', 'Iowa'],
carbon_tax_per_ton=100.0,
mfu=1.0,
)
```
Determines the optimal data center location to minimize TCO and carbon taxes.