Skip to content

[FEATURE] Semidefinite integral #421

@cstjean

Description

@cstjean

Now that our core model is written, I was pleasantly surprised to see that I could add extra @expression's at no additional cost. Unfortunately, while I can compute this definite integral

@expression m total_cost integral(hourly_cost, t, 0, 100)

What I'd really like would be

@expression m cumulative_cost integral(hourly_cost, t, 0, t)

that computes the semi-definite integral

$$ \int_{0}^{t} hourlycost(\tau), d\tau $$

Is there any way to get that in InfiniteOpt? We have a lot of similar expressions, and adding them all to our model as variable + constraint makes me worry about runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions