Skip to content

Conjuction of constraints on output #178

@preritt

Description

@preritt

Hi
The tool allows constraints to be specified in the following format

A = [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0]'
b = [0.0]

Yc = HPolytope(A, b)

What if I want multiple constraints to be satisfied simultaneously? Can A have multiple rows and b be a column vector? For instance, can we have the following requirement on the outputs?

A = [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0;
      1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0]'
b = [0.0, 1.0]

Yc = HPolytope(A, b)

Thanks!

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