diff --git a/articles/api-variant-management.html b/articles/api-variant-management.html index 36a776c1..5437f59a 100644 --- a/articles/api-variant-management.html +++ b/articles/api-variant-management.html @@ -485,6 +485,7 @@

Create a binding constraint#> "enabled": false, #> "time_step": "hourly", #> "operator": "both", +#> "values": [], #> "coeffs": { #> "area01%area02": [ #> 1 diff --git a/news/index.html b/news/index.html index 1ba1a4c5..13f4dc1c 100644 --- a/news/index.html +++ b/news/index.html @@ -81,11 +81,14 @@

Breaking changessetSimulationPath() and setSimulationPathAPI() +
  • +createBindingConstraint() parameter coefficients must be alphabetically ordered.
  • BUGFIXES :

    diff --git a/pkgdown.yml b/pkgdown.yml index b5fba001..e1adcdac 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,5 +7,5 @@ articles: api-variant-management: api-variant-management.html renewables-energy-sources: renewables-energy-sources.html scenario-builder: scenario-builder.html -last_built: 2024-02-27T10:18Z +last_built: 2024-02-27T10:41Z diff --git a/reference/create-binding-constraint.html b/reference/create-binding-constraint.html index acae690f..1e16de0b 100644 --- a/reference/create-binding-constraint.html +++ b/reference/create-binding-constraint.html @@ -132,7 +132,7 @@

    Arguments

    coefficients
    -

    A named vector containing the coefficients used by the constraint.

    +

    A named vector containing the coefficients used by the constraint, the coefficients have to be alphabetically ordered.

    overwrite
    diff --git a/reference/editBindingConstraint.html b/reference/editBindingConstraint.html index 9de6b940..ba2f2dd0 100644 --- a/reference/editBindingConstraint.html +++ b/reference/editBindingConstraint.html @@ -127,7 +127,7 @@

    Arguments

    coefficients
    -

    A named vector containing the coefficients used by the constraint.

    +

    A named vector containing the coefficients used by the constraint, the coefficients have to be alphabetically ordered.

    opts