filecoin-project / orient

↻Observe-Orient-Decide-Act↩
MIT License
18 stars 6 forks source link

Solver #63

Closed porcuquine closed 4 years ago

porcuquine commented 4 years ago

Usage example:

(base) ➜  orient git:(solver) bin/orient optimize -s base/systems/solver.orient -i base/systems/solver.json | jq
{
  "_": {
    "optimize": {
      "objective": "objective",
      "height": 1,
      "width": 1
    }
  },
  "o": 0.0015999744010239418,
  "area": 25.000399984568624,
  "width": 5.000039968014458,
  "height": 5.000040028579294,
  "o.tmp2%": 2.5597820047062558e-08,
  "o.tmp3%": 0.0015999488032038948,
  "objective": 2.559918083931921e-06,
  "perimeter": 20.000159993187502,
  "area_error": 0.039999360034929245,
  "perimeter_error": 0.00015999318750203884,
  "perimeter.tmp1%": 10.000079996593751,
  "target_perimeter": 20
}

For more insight, see the system and inputs.