I'm having the following problem
-
- Junior Member
- Posts: 4
- Joined: Fri Mar 12, 2021 1:22 pm
- Vensim version: DSS
I'm having the following problem
In one part of my model I have this constraint maximization problem of a representative consumer. How could I formulate a component like: Max U(c) subject to ax+by=R; for example.
Re: I'm having the following problem
Generally such formulations are not a realistic model of behavior, though they are sometimes useful.
You can use the optimizer to solve the problem. https://www.vensim.com/documentation/21330.html
You can use the optimizer to solve the problem. https://www.vensim.com/documentation/21330.html
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: I'm having the following problem
There's also an LP_solve link in an external function library: https://vensim.com/workbench/#lp-solve-link It would probably have to be recompiled for the latest version of Vensim.
Some problems can be solved by using FIND ZERO on the Lagrangian shadow price of the constraint.
Some problems can be solved by using FIND ZERO on the Lagrangian shadow price of the constraint.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/