mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-16 23:24:55 -05:00
28 lines
667 B
Plaintext
28 lines
667 B
Plaintext
# solvers.PlacementOptimizer { #mlsysim.solvers.PlacementOptimizer }
|
|
|
|
```python
|
|
solvers.PlacementOptimizer()
|
|
```
|
|
|
|
Finds the optimal datacenter location to minimize TCO and Carbon.
|
|
|
|
## Methods
|
|
|
|
| Name | Description |
|
|
| --- | --- |
|
|
| [solve](#mlsysim.solvers.PlacementOptimizer.solve) | Determines the optimal data center location to minimize TCO and carbon taxes. |
|
|
|
|
### solve { #mlsysim.solvers.PlacementOptimizer.solve }
|
|
|
|
```python
|
|
solvers.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.
|