- TRACE_surf_link_set_utilization(link->getCname(), action.getCategory(),
- (lmm_variable_getvalue(action.getVariable()) *
- lmm_get_cnst_weight_from_var(maxminSystem_, action.getVariable(), i)),
- action.getLastUpdate(), now - action.getLastUpdate());
+ TRACE_surf_link_set_utilization(
+ link->getCname(), action.getCategory(),
+ (action.getVariable()->get_value() * action.getVariable()->get_constraint_weight(i)),
+ action.getLastUpdate(), now - action.getLastUpdate());