mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-22 15:11:24 -05:00
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.)
28 lines
703 B
Plaintext
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.
|