freeing fixed variables
See original GitHub issueIs it possible to “free” a variable in an existing model, such that its value
is removed, and the corresponding model, when solved, treats that variable as a free variable?
In an existing model m
, I tried m["C_L"].key.descr.pop("value")
, but it doesn’t actually remove the value from the descr. I also don’t know if other changes would be needed to Model
to implement this robustly.
… or maybe there’s a much smarter way to accomplish converting fixed variables in an existing model to free variables?
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Free variables and bound variables - Wikipedia
In computer programming, the term free variable refers to variables used in a function that are neither local variables nor parameters of that...
Read more >Free and Basic Variables - math.wsu.edu
A variable is a basic variable if it corresponds to a pivot column. Otherwise, the variable is known as a free variable. In...
Read more >Determine Basic (Leading) Variables and Free ... - YouTube
This video explains how to determine the basic and free variables by determining the pivots and pivot columns of an augmented matrix is ......
Read more >Mplus Class Notes Freeing, Constraining, and Testing ...
Although parameters can be fixed manually, to simplify model input, Mplus often fixes parameters to a given value by default. By convention, these...
Read more >Fixing and freeing variables o JuMP - Julia Discourse
I am studying a combinatorial optimization problem with JuMP and Gurobi. I need to fix some decision variables for a given number of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We test this in t_model/test_cost_freeing
It’s also in the docs at https://gpkit.readthedocs.io/en/latest/advancedcommands.html#freeing-fixed-variables