...
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 | N | String | distance_between, latency_between, attribute | Function to be performed on the parameters |
fucntion_params | N | dict | parameters on which the function will be applied. The parameters will change for each function. |
...
JSON Viewer |
---|
{ "goal": "minimize", "objective_function": { "operation": "sum", "operands": [ { "function": "distance_between", "weight": 1.0, "params": { "demand": "vG", "location": "customer_loc" } }, { "function": "distance_between", "weight": 1.0, "params": { "demand": "vFW", "location": "customer_loc" } } ] } } |
Scenario:
objective function - latency(demand) + latency(demand)
...
JSON Viewer |
---|
{ "goal": "minimize", "objective_function": { "operation": "sum", "operands": [ { "function": "attribute", "weight": 1.0, "params": { "demand": "urllc_core", "attribute": "latency" } }, { "function": "attribute", "weight": 1.0, "params": { "demand": "urllc_ran", "attribute": "latency" } } ] } } |
Scenario:
_bw = [100, 200, 300]
...