Skip to content

Commit 120e039

Browse files
authored
Release v1.0 of the schema (#26)
1 parent 96b6671 commit 120e039

File tree

12 files changed

+339
-434
lines changed

12 files changed

+339
-434
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ __pycache__
22
*.pyc
33
.DS_Store
44
sol_*.json
5+
examples/lang-julia/Manifest.toml

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ optimization problems called _StochOptFormat_, with the file extension
77
For convenience, we abbreviate StochOptFormat to _SOF_.
88

99
StochOptFormat is defined by the [JSON schema](http://JSON-schema.org)
10-
[`https://odow.github.io/StochOptFormat/versions/sof-0.3.schema.json`](https://odow.github.io/StochOptFormat/versions/sof-0.3.schema.json).
11-
12-
_Note: StochOptFormat is in development. If you have suggestions or comments,
13-
please [open an issue](https://github.com/odow/StochOptFormat/issues/new)._
10+
[`https://odow.github.io/StochOptFormat/versions/sof-1.schema.json`](https://odow.github.io/StochOptFormat/versions/sof-1.schema.json).
1411

1512
**Authors**
1613

@@ -92,9 +89,8 @@ When developing StochOptFormat, we set out to create:
9289
Equally as important as the things that we set out to do, are the things that we
9390
did _not_ set out to do:
9491

95-
- We did not try to incorporate chance constraints
96-
- We did not try to incorporate continuous random variables
97-
- We did not try to incorporate decision-hazard nodes.
92+
- We did not try to incorporate chance constraints.
93+
- We did not try to incorporate continuous random variables.
9894

9995
Finally, StochOptFormat is not an algebraic modeling language for stochastic
10096
programming. Instead, it is an instance format [5].
@@ -249,7 +245,7 @@ Encoded in StochOptFormat, the newsvendor problem becomes:
249245
"name": "newsvendor",
250246
"date": "2023-05-02",
251247
"description": "A StochOptFormat implementation of the classical two-stage newsvendor problem.",
252-
"version": {"major": 0, "minor": 3},
248+
"version": {"major": 1, "minor": 0},
253249
"root": {
254250
"state_variables": {"x": 0.0},
255251
"successors": {"first_stage": 1.0}
@@ -548,7 +544,7 @@ resulting policy, such as expected objective values, and various quantiles.
548544
trivially extends to infinite horizon problems and problems with a stochastic
549545
process that is not stagewise independent.
550546

551-
- Q: MathOptFormat is too complicated. Why can't we use LP or MPS files?
547+
- Q: Why MathOptFormat instead of LP or MPS files?
552548

553549
A: MathOptFormat can be read and writen by most programming languages. In
554550
addition, it is very general and easy to extend. Please read Section 2 of [2]

0 commit comments

Comments
 (0)