Problem:
- Lower bound: -inf
Upper bound: inf
Number of objectives: 1
Number of constraints: 0
Number of variables: 13646Sense: unknown
Constraint: No values
3. I'm running the model for less time steps (e.g., 2 or 365) to look for errors that might be causing the problem. The model solves properly (correct values/solution) but the output file does not list any constraints (see below). How is this possible? Am I interpreting the output file incorrectly?
4. In the same output, I notice the lower and upper bound of the problem are -inf to inf. I have defined all Var as Boolean, NonNegativeReals, PercentFraction, or positive values for the upper and lower bounds. I do not have any Param since concrete model. So why is pyomo thinking -inf to inf are possible for decision space?
And here is the ending:Constraint: No values
Number of objectives: 1
Number of constraints: 0
Number of variables: 13646
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<RecursionTraceback_20160114.JPG>
--report-timing --profile 10 --keepfiles --symbolic-solver-labels --stream-solver
Yet constraints are said to be zero by results.yml. Perhaps error in generation of results.yml file?
2. none of the diagnostic files nor text streamed to command window (which is cut off because too many lines of code) show information about specific variables or constraints.
They all reference pyomo code. I had seen a previous post where the user was able to get back information about which constraints may be the most time consuming to generate to help with the recursive issue. Am I not requesting that information properly?
<results.yml><StreamedToWindow.JPG><tmp1v61g6r8.pyomo.col><tmp1v61g6r8.pyomo.nl><tmp1v61g6r8.pyomo.row><tmp1v61g6r8.pyomo.sol><tmpelu0ag54_bonmin.log><tmplkrhmg_z.profile>
1. For profile: I see many references to "Wmodel.py:2(<module>)" and a few "Wmodel.py:4621(cost)". The numbers are simply referencing the line of code in Wmodel where the abstract model is created and the objective function "cost" is defined. Am I supposed to get more information by looking at information before and after these references?
2. For timing: in attached file, there is 0 seconds associated with each component creation but in a previous run, I got 0.02 sec for two constraints. Does that mean those constraints might be reconfigured for better outcomes? If so, reconfigured how?
1. For profile: I see many references to "Wmodel.py:2(<module>)" and a few "Wmodel.py:4621(cost)". The numbers are simply referencing the line of code in Wmodel where the abstract model is created and the objective function "cost" is defined. Am I supposed to get more information by looking at information before and after these references?
2. For timing: in attached file, there is 0 seconds associated with each component creation but in a previous run, I got 0.02 sec for two constraints. Does that mean those constraints might be reconfigured for better outcomes? If so, reconfigured how?
3. traceback - attached is traceback for 5 year version that crashes. I've looked and searched for reference to Wmodel but do not see any. What am I missing?
I do wonder whether the recursion issue is due to the fact that i have mass balances for multiple watershed components for each time step and each time step's values affect the next time step. I don't know how I would get around this issue since it's not an artifact of the way I construct constraints but the way the physical watershed is that I am modeling. In that case, I wonder whether we can continue with Pyomo??
<cmdoutput_2steps_abstract.docx><cmdoutput_5yrs_abstract.docx>
I think the way around this is to add some intermediate variables and constraints. I think the recursion error is the result of something like the following:
constraint: x[1] + x[2] + … + x[N],
FYI: this shouldn’t create deep trees (the SumExpression is a n-ary expression, so the tree should be wide but shallow).
I will echo Gabe’s comment: if you can share a model (off-list is fine) that hits the recursion limit, then we can take a look and see (a) what is causing it and (b) if we can add more helpful error trapping in Pyomo to assist users in figuring out what is wrong and how to avoid it.
john
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<cmdoutput_2steps_abstract.docx><cmdoutput_5yrs_abstract.docx>
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...