Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constraints added to individual variables don't print when printing the problem #644

Closed
ericphanson opened this issue May 8, 2024 · 0 comments · Fixed by #649
Closed

Comments

@ericphanson
Copy link
Collaborator

e.g.

julia> x = Variable(1000)
Variable
size: (1000, 1)
sign: real
vexity: affine
id: 715359

julia> for i in 1:1000
       add_constraint!(x, x[i] >= 0)
       end

julia> p = minimize(sum(x))
minimize
└─ sum (affine; real)
   └─ 1000-element real variable (id: 715359)

status: `solve!` not called yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant