mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
Update docs
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,10 +2,10 @@
|
|||||||
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
|
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
|
||||||
# Released under the modified BSD license. See COPYING.md for more details.
|
# Released under the modified BSD license. See COPYING.md for more details.
|
||||||
|
|
||||||
VERSION := 0.3
|
VERSION := 0.4
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
cd docs; julia --project=. make.jl; cd ..
|
cd docs; julia --project=. -e 'include("make.jl"); make()'; cd ..
|
||||||
rsync -avP --delete-after docs/build/ ../docs/$(VERSION)/
|
rsync -avP --delete-after docs/build/ ../docs/$(VERSION)/
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ function make()
|
|||||||
"guides/problem.md",
|
"guides/problem.md",
|
||||||
"guides/format.md",
|
"guides/format.md",
|
||||||
"guides/instances.md",
|
"guides/instances.md",
|
||||||
"guides/model.md",
|
|
||||||
],
|
],
|
||||||
"api.md",
|
"api.md",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -213,6 +213,6 @@ UnitCommitment.optimize!(model)
|
|||||||
|
|
||||||
solution = UnitCommitment.solution(model)
|
solution = UnitCommitment.solution(model)
|
||||||
|
|
||||||
# The solution for each stage can be accessed through `solution[scenario_name]`. For conveniance, this includes both first- and second-stage optimal decisions:
|
# The solution for each scenario can be accessed through `solution[scenario_name]`. For conveniance, this includes both first- and second-stage optimal decisions:
|
||||||
|
|
||||||
solution["s1"]
|
solution["s1"]
|
||||||
Reference in New Issue
Block a user