Skip to content

Remove allocations SlackModel #74

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

Closed
2 of 3 tasks
tmigot opened this issue Dec 5, 2022 · 0 comments · Fixed by #81
Closed
2 of 3 tasks

Remove allocations SlackModel #74

tmigot opened this issue Dec 5, 2022 · 0 comments · Fixed by #81
Labels
enhancement New feature or request

Comments

@tmigot
Copy link
Member

tmigot commented Dec 5, 2022

I am running the following script:

using Pkg
Pkg.activate(".")
using LinearAlgebra, NLPModels, NLPModelsModifiers, NLPModelsTest

# Test Slack Models:
map(
  nlp -> print_nlp_allocations(nlp, test_allocs_nlpmodels(nlp, linear_api = true, exclude = [hess])),
  map(x -> SlackModel(eval(Symbol(x))()), NLPModelsTest.nlp_problems),
)

and there are three sources of allocations:

@tmigot tmigot added the enhancement New feature or request label Dec 5, 2022
@tmigot tmigot linked a pull request Dec 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant