Skip to content

Experiment with ILP#61

Closed
virgesmith wants to merge 6 commits intomainfrom
ilp
Closed

Experiment with ILP#61
virgesmith wants to merge 6 commits intomainfrom
ilp

Conversation

@virgesmith
Copy link
Copy Markdown
Owner

No description provided.

@virgesmith
Copy link
Copy Markdown
Owner Author

        # large problem - ILP struggles to get exact solution
        dim = 5
        indices = tuple(range(dim))
    
        marginals = [np.arange(10000, 40001, 10000)] * dim
    
        lbound = np.ones((4,) * 5)
        ubound = np.full((4,) * 5, 1000)
    
        result, stats = hl.ilp(indices, marginals, lbound=lbound, ubound=ubound)
>       assert stats["conv"]
E       assert np.False_

tests/test_all.py:528: AssertionError

will not pursue this

@virgesmith virgesmith closed this Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant