Skip to content

Profile and debottleneck validation #19

@Robbybp

Description

@Robbybp

With recent performance improvements in solve_strongly_connected_components, this is no longer the bottleneck in data-validation, especially if Pyomo/pyomo#3190 is used. However, validating a single set of inputs is still slower than I would like. I see the following runtime breakdown:

Identifier   ncalls   cumtime   percall      %
----------------------------------------------
make-model        1     2.267     2.267   17.3
post-solve        1     0.411     0.411    3.1
solve-scc         1     2.062     2.062   15.7
validate          1     8.374     8.374   63.9
==============================================

Validation is quite a bit slower than I would expect, and I suspect this is because we're not exploiting named expressions when evaluating expression in Pyomo. We should confirm this, then possibly try to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions