...
Attribute | Required | Content | Values | Description | |
---|---|---|---|---|---|
goal | Y | String | minimize, maximize | The goal of the optimization | operation | Y
objective_function | Y | Objective function Object | The objective function that has to be optimized |
Objective function object
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
operation | N | String |
sum, min, max | The operation which will be a part of the objective function |
operands |
N | List of operand object | The operand on which the operation is to be performed. The operand can be an attribute or result of a function |
operand object
Attribute | Required | Content | Values | Description | |||||
---|---|---|---|---|---|---|---|---|---|
weight | N | decimal | default: 1.0 | Weight of the operand | |||||
objective_function | N | Objective function object | |||||||
function | NY | String | distance_between, latency_between, attribute | Function to be performed on the parameters | |||||
fucntion_params | N | decimal | default: 1.0 | Weight of the operand | params | Y | dict | parameters on which the function will be applied. The parameters will change for each function. |
...