object_function: Objective function

Description Usage Arguments Value

View source: R/object_function.R

Description

Objective function in the linear search step of the optimization model of user equilibrium traffic assignment problem, the only variable is mixed_flow in this case.

Usage

1
object_function(mixed_flow, graph)

Arguments

mixed_flow

Vector with flows used by golden section search technique

graph

Graph object created with configure_graph() function

Value

Vector with objective function calculation from flow


douglascm/trafficr documentation built on March 13, 2020, 11:44 a.m.