Skip to content

Hopsy.round moves the chebyshev center #7

@ronald-jaepel

Description

@ronald-jaepel

Here's the example case we just discussed:

Image

problem = hopsy.Problem(
    A=np.array(
        [[1., 1.],
         [-1., -0.],
         [-0., -1.],
         [1., 0.],
         [0., 1.]]
    ),
    b=np.array(
        [1., -0., 0.5, 1., 2.]
    )
)
print(hopsy.compute_chebyshev_center(problem, original_space=True)[:, 0])
problem = hopsy.round(problem)
print(hopsy.compute_chebyshev_center(problem, original_space=True)[:, 0])

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