Skip to content

Constrained

constrained

Components related to constrained optimization in the context of LNS.

get_opt_bound(cost: list[int], opt_mode: str, opt_modifier: str = 'dynamic', opt_nf: str = '0') -> str

Calculate bound for next step.

Parameters:

Name Type Description Default
cost list[int]

Current cost list

required
opt_mode str

Optimization mode

required
opt_modifier str

Optimization modifier

'dynamic'
opt_nf str

Optimization factor

'0'

Returns:

Type Description
str

String representing the bound for the next step.