LIST OF OPTIMiZATION GOALS
LIST OF OBJECTIVE FUNCTIONS
Minimize an unweighted value
{
"minimize":{
"attribute":
{
"distance_between":[
"customer_loc",
"vG"
]
}
}
}
Minimize a weighted value
{
"minimize":{
"attribute":
{
"product":[
200,
{"distance_between":[
"customer_loc",
"vG"
]}
]
}
}
}
Maximize an unweighted value
{
"maximize":{
"attribute":
{
"reliability":[
"URLLC"
]
}
}
}
Maximize a weighted value
{
"minimize":{
"attribute":
{
"product":[
200,
{"reliability":[
"URLLC"
]}
]
}
}
}
Minimize the sum of unweighted values
{
"minimize":{
"sum":[
{
"distance_between":[
"customer_loc",
"vG"
]
},
{
"distance_between":[
"customer_loc",
"vG"
]
}
]
}
}
Minimize the sum of weighted values
{
"minimize": {
"sum": [
{
"product": [
100,
{
"distance_between": [
"customer_loc",
"vG"
]
}
]
},
{
"product": [
200,
{
"hpa_score": [
"vG"
]
}
]
}
]
}
}
New Optimization ModelAttribute | Required | Content | Values | Description |
---|
goal | Y | String | minimize, maximize | The goal of the optimization |
operation | Y | String | attribute*, sum, min, max | The operation which will be a part of the objective function |
operands | Y | List of operand |
| 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 |
---|
function | Y | String | distance_between, latency_between, attribute | Function to be performed on the parameters |
weight | 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. |
Examples
Scenario:
objective function - distance_between(demand, location) + distance_between(demand, location)
{
"goal": "minimize",
"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)
{
"goal": "minimize",
"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"
}
}
]
}