Skip to content

End-assignment-only results in confusing convergence message #555

@zptro

Description

@zptro

I realized that this line which was added in #537 makes the try clause succeed, even if self.old_car_demand is missing, which in the case of end-assignment-only runs results in a confusing message that the model run has not converged. The intention is originally that the try clause should fail in the first iteration, which forces relative gap to zero.

self.old_car_demand = cast(numpy.ndarray, self.old_car_demand) #type checker hint

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions