Skip to content

Whether there is a way to write the constrains and object function in a matrix way #2

Open

Description

@GehenHe

Hi,is apmonitor support optimize a matrix?
For I need to optimize a matrix X , and I don't want to rewrite the constrains for each elements of X, whether there is a way to write the constrains and object function in a matrix way?

Activity

  1. APMonitor commented on Mar 27, 2018

    @APMonitor
    Owner

    APMonitor does support matrix multiplication with the axb object but the parameters are constants. I'd recommend the GEKKO package (https://github.com/BYU-PRISM/GEKKO). It is available with pip install gekko. This package allows models to be built directly in Python. More information is available at http://gekko.readthedocs.io/en/latest/

  2. APMonitor commented on Apr 16, 2018

    @APMonitor
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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