Otimização

Solução

{% load dashboard_extras %}
Melhor solução{{ task.result.best_solution|listformat:3 }}

Função

{% with t=task.result.best_value|stringformat:'.3e' %} {% endwith %} {% if task.task_kwargs.executions > 1 %} {% with t=task.result.max_value|stringformat:'.3e' %} {% endwith %} {% with t=task.result.avg_value|stringformat:'.3e' %} {% endwith %} {% with t=task.result.stdev_value|stringformat:'.3e' %} {% endwith %} {% endif %}
Melhor valor{{ t|replace:'.|,' }}
Pior valor{{ t|replace:'.|,' }}
Valor médio{{ t|replace:'.|,' }}
Desvio padrão{{ t|replace:'.|,' }}
{% with optimal=task.task_kwargs.function.optimal %} {% if optimal %}

Ótimo Global

{% with t=optimal.value|stringformat:'.3e' %} {% endwith %}
Solução ótima {{ optimal.solution|listformat:3 }}
Valor ótimo da função {{ t|replace:'.|,' }}
{% endif %} {% endwith %}