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

Add set_start_values to simplify setting all starting values in a model #3238

Merged
merged 6 commits into from
Feb 28, 2023

Conversation

odow
Copy link
Member

@odow odow commented Feb 24, 2023

x-ref: #2348 (comment)

This is a fairly common request. And "copy this large function from the docs but change it" isn't a great answer to have.

Needs:

  • docs
  • tests

@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Base: 98.07% // Head: 98.10% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (83fc469) compared to base (385c72f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3238      +/-   ##
==========================================
+ Coverage   98.07%   98.10%   +0.02%     
==========================================
  Files          34       34              
  Lines        4632     4694      +62     
==========================================
+ Hits         4543     4605      +62     
  Misses         89       89              
Impacted Files Coverage Δ
src/JuMP.jl 96.82% <ø> (ø)
src/optimizer_interface.jl 96.87% <100.00%> (+0.99%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@odow odow changed the title WIP: Add set_start_values to simplify setting all starting values in a model Add set_start_values to simplify setting all starting values in a model Feb 26, 2023
docs/src/manual/constraints.md Outdated Show resolved Hide resolved
Copy link
Member

@blegat blegat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition, I often need to do that

@odow odow merged commit 7bd8e09 into master Feb 28, 2023
@odow odow deleted the od/set-start-values branch February 28, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants