Search found 41 matches

by tomauro
Sun Apr 26, 2015 2:05 pm
Forum: Vensim
Topic: Sensitivity Runs Ignoring Vector Settings
Replies: 2
Views: 2314

Re: Sensitivity Runs Ignoring Vector Settings

OK, partially answered my own question.

First, the number of runs should have been 8281 (91 * 91)...forgot about the endpoints.

Second, if I use Latin Grid, it works. But it always used to work with the Multivariate setting...did this change in Version 6.3?
by tomauro
Sun Apr 26, 2015 2:00 pm
Forum: Vensim
Topic: Sensitivity Runs Ignoring Vector Settings
Replies: 2
Views: 2314

Sensitivity Runs Ignoring Vector Settings

I don't know what I'm doing wrong, but Sensitivity Runs are ignoring the Vector settings. For the settings in the attached screenshot, I should get 8100 runs (90 * 90)...but Vensim is only doing the number of simulations I have set in the field for running Monte Carlo analyses (currently 200). I'm u...
by tomauro
Fri Mar 13, 2015 3:44 pm
Forum: Vensim
Topic: 2-D Constraint on a Lookup
Replies: 1
Views: 1923

2-D Constraint on a Lookup

Is there any way to constrain the bounds of a lookup? What I'm trying to get is a "2-D" slice of a lookup table to find the area under a curve for different values of Xmin/Xmax AND Ymin/Ymax. I know this is possible with VECTOR LOOKUP AREA (as in the example) but LOOKUP AREA only allows co...
by tomauro
Sat May 25, 2013 3:02 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Re: Linear Program

Problem solved!!!

When I replaced the 64-bit version of lpsolve55.dll with the 32-bit version (in the C:\lp_solve folder), it worked!

You may want to mention this in the setup instructions on the Workbench page.

Thanks,
Lou
by tomauro
Sat May 25, 2013 2:28 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Re: Linear Program

BTW, I should have mentioned, I have a 64-bit OS...don't know if that makes a difference.
by tomauro
Sat May 25, 2013 3:49 am
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Re: Linear Program

I deleted the files out of the other locations.

I'm running Version 6.0b. Maintenance ran out so I can't download 6.1 (yet).
by tomauro
Fri May 24, 2013 4:32 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Re: Linear Program

Tom, I'm having some issues getting this running. I put the venextLP and venextLP_dp in the “C:\Users\SAO\Vensim\plugins” folder as shown. I put the lpsolve55.dll in the “C:\lp_solve” folder (and added it to my system path). I even put the dlls in the “C:\Users\SAO\Vensim\dll” and “C:\Windows\System...
by tomauro
Mon May 20, 2013 4:48 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Re: Linear Program

Tom,

Awesome!! I actually did a search way back when and saw that solver too.

I'll explore and let you know if I have any issues implementing.

Cheers,
Lou
by tomauro
Thu May 16, 2013 4:38 pm
Forum: Vensim
Topic: SIMULTANEOUS Error in 6.0b
Replies: 1
Views: 2200

SIMULTANEOUS Error in 6.0b

Hi guys, I'm getting an error with the latest download of Vensim when I use the SIMULTANEOUS function. After I select SIMULTANEOUS on an Auxiliary variable, it asks me if I want to add SIMUL TANEOUS to the model (the space is intentional, because that's what it asks). I have a feeling this is becaua...
by tomauro
Thu May 16, 2013 4:34 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7430

Linear Program

Tom (et al),

Any thoughts lately about incorporating a linear program for optimizing allocations? Last I was grappling with this, the only option was the market clearing algorithms (built-in) or trying to trade data with Excel and using their LP.

Cheers,
Lou
by tomauro
Mon Oct 01, 2012 8:09 pm
Forum: Sable
Topic: Slow Response Using SubScript Grid Command
Replies: 3
Views: 10000

Re: Slow Response Using SubScript Grid Command

I might be able to post a screenshot, but the application itself it's on a standalone system with high security. Is a screenshot sufficient?

Regards,
Lou
by tomauro
Fri Sep 28, 2012 6:26 pm
Forum: Sable
Topic: Slow Response Using SubScript Grid Command
Replies: 3
Views: 10000

Slow Response Using SubScript Grid Command

Hi there! This is my first time posting here...and first time developing a Sable interface in a while. I'm trying to use the SubScript Grid command to let the user edit an array of subscript constants during a run. The command brings up a nice, convenient grid that's easily editable...but when I cli...
by tomauro
Tue Sep 11, 2012 3:14 pm
Forum: Vensim
Topic: Hotlink Example
Replies: 1
Views: 1844

Hotlink Example

Are there any examples of a "live" hotlink with Excel (as mentioned in the help)...using WM_DDE_REQUEST and WM_DDE_ADVISE commands? The DDE example files are "manual" in that you have to use buttons in Excel to stimulate the data transfer, run the simulation, etc. I want to be in...
by tomauro
Thu Aug 16, 2012 12:16 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Tom, Many thanks! I think I can use that construct in my model. In my other example, I tried mapping the Demander (D1, D2) and Supplier (S1, S2) variables to a single vector Alloc (A1-A4) as you suggested, but it still doesn't zero (reposted). However, I was actually successful at using a different ...
by tomauro
Sat Aug 11, 2012 9:20 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Thanks, but the example doesn't help because it doesn't make a many-to-many alloc (i.e. even if I use multiple products, they're still all commodities)...nor can I restrict the assignment (i.e. supplier 1 cannot supply to demander 2, etc.)...using, for instance, the :EXCEPT: function. Tom...I'm atta...
by tomauro
Fri Aug 10, 2012 12:19 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Just wanted to circle back around on this and ask if there's any way to do a many-to-many allocation but restrict what gets allocated to what (example models were posted back in Mar). The help makes mention that you can use multiple dimensional subscripts in the FIND MARKET PRICE construct (i.e. dem...
by tomauro
Fri Jun 29, 2012 3:16 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Actually, I'll ask a related question. Is this kind of allocation possible with a multi-dimensional FIND ZERO with constraints? For example, I want to minimize the difference between total demand and total supply, with the restrictions that Sum(Allocated[Demander!,Supplier]) <= Available Supply[Supp...
by tomauro
Fri Jun 29, 2012 12:18 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Actually, I tried that a while ago and got nowhere with it. I tried it again here...but wasn't sure about the order of the subscripts. In any case, neither way is working. If I make the subscripts (Supplier, Demander), I get an error. If I make them (Demander, Supplier) it runs, but the answers are ...
by tomauro
Thu Jun 28, 2012 1:36 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

OK, here's a version of the model that I posted a while ago, which Tom helped me with. It's a lot further along now, but the basics with the allocation are still the same. I made two variables (Assignment PtoC, Assignment CtoR) that have the binary "restrictions". The Two-Way Allocation mo...
by tomauro
Thu Jun 28, 2012 11:34 am
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Actually, based on your suggestion...I was able to do a mapping (at the subrange level) to a generic continuous subscript to be used by the allocation functions and that worked. Thank you very much! However, I have a related question. I'm trying to disallow one demander to be supplied by one supplie...
by tomauro
Fri Jun 22, 2012 2:39 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Re: Error using subranges in Allocate Available

Actually, I had a similar "unsolveable" problem with Find Market Price...different error ("subscript range error in demand quantity") but with the same solution.

I can't post a model where I am right now...but I will ASAP. :)

Thanks again!
by tomauro
Fri Jun 22, 2012 12:17 pm
Forum: Vensim
Topic: Error using subranges in Allocate Available
Replies: 18
Views: 12902

Error using subranges in Allocate Available

Tom/Bob, I was wrestling with a "bad ptype" error I was getting when using subranges subscript (i.e. a group within a subscripted variable) with the Allocate Available function. I finally figured out it's the subrange that it doesn't like, since when I pull the subrange out as it's own sub...
by tomauro
Fri Apr 06, 2012 2:48 pm
Forum: Vensim
Topic: Over Allocation
Replies: 4
Views: 4096

Re: Over Allocation

Tom, Thanks so much! My main problem was not understanding that the successive priorities had to be >= to ones down stream. I think I even had a previous version of your cascading demand/supply that didn't work for that reason. Anyway, it worked like a charm after I re-integrated it into my full-up ...
by tomauro
Tue Mar 27, 2012 5:55 pm
Forum: Vensim
Topic: Over Allocation
Replies: 4
Views: 4096

Re: Over Allocation

Tom, Here's a simplified version of my model. The Allocation One-Way view is the ALLOCATE AVAILABLE "attempt". The Allocation Two-Way view is the FIND MARKET PRICE "attempt". What I really need is to be able to get a many-to-many allocation between Problem->Collect and Collect->R...
by tomauro
Tue Mar 27, 2012 1:47 pm
Forum: Vensim
Topic: Over Allocation
Replies: 4
Views: 4096

Over Allocation

Tom, Bob (or et al), I'm having some trouble with the ALLOCATE AVAILABLE function. It seems to be overallocating...specifically it's duplicating demand for each supplier. If supply is infinite, each supplier will fill all the demand for each demander (i.e. if there are 3 suppliers, that will be 3 ti...