Comments (6)
How about:
Reconstruct model -> Fix vars by go through varDict with solution value -> objective = min 0.0 -> solve -> return status
?
from powermodels.jl.
Given the current state of JuMP this might be the best solution.
In an ideal world, checking feasibility should not require sending the problem to a solver. If you know the constraints and have a value for every variable, then you should be able to easily evaluate the constraints in Julia to test for feasibility up to some numerical tolerance.
@mlubin, @chriscoey suggestions on this? It seems like you do similar checks in Pajarito.
from powermodels.jl.
Well, you can extract the constraint data and check feasibility. The easiest way is likely to make a dummy solver that does this through MathProgBase.
from powermodels.jl.
Sounds like a good solution to me.
from powermodels.jl.
@mlubin is this an expected feature in the next version of JuMP/MOI?
from powermodels.jl.
We will have the infrastructure to implement this much more easily in JuMP/MOI, but this isn't a blocker or high priority for the JuMP 0.19 release.
from powermodels.jl.
Related Issues (20)
- GenericPowerModel HOT 2
- My own objective function HOT 4
- Can't parse matpower file HOT 3
- Voltage magnitude increases HOT 2
- Trying to solve DC but PowerModels crash with a Quadratic function error HOT 4
- Unable to set lower bound to -Inf. To remove the bound, use `delete_lower_bound`. HOT 2
- Matpower case21k. AssertionError: occursin(".", matrix_assignment) HOT 4
- Generator bus voltage for pti files HOT 2
- Creating Result dict from JuMP model HOT 1
- I encountered some problems while testing PowerModels HOT 2
- Unravelling the mystery of #861 HOT 3
- SDP HOT 1
- Data Parsing Support for CIM/CGMES HOT 4
- Reproducing power flow results HOT 2
- Piecewise-linear cost objective calculation HOT 2
- Undefined variables in function calc_theta_delta_bounds HOT 2
- Drop Multiconductor Support HOT 5
- DCPLL Support for Power Flow Formulations
- Support for Duals of All Constraints
- Drop Support for Run Functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powermodels.jl.