Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Corporation AI


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 polyfrag   Crossbones+   -  Reputation: 1877

Like
0Likes
Like

Posted 20 August 2013 - 12:40 AM

Given a set of owned buildings, each with their own production chain(s) that turn a given set of inputs into a given set of outputs, how should I determine how much to produce (and thus how much input to buy at the lowest possible prices) and what price to set to sell the most for each output?

Sponsor:

#2 Álvaro   Crossbones+   -  Reputation: 13692

Like
0Likes
Like

Posted 20 August 2013 - 05:34 AM

There is a whole field devoted to answering that kind of problem. I hope you have a few years to spare...

#3 AngleWyrm   Members   -  Reputation: 554

Like
0Likes
Like

Posted 20 August 2013 - 03:22 PM

The Simplex method from linear algebra looks like it might be well suited to the problem at hand.

Youtube tutorial video on a similar problem space

Second example problem by same guy

 


Edited by AngleWyrm, 20 August 2013 - 04:14 PM.

--"I'm not at home right now, but" = lights on, but no ones home

#4 ApochPiQ   Moderators   -  Reputation: 16080

Like
0Likes
Like

Posted 20 August 2013 - 06:41 PM

If your model is sufficiently simple, this can be boiled down to a linear programming problem. Still not trivial, but much easier than the full problem space might suggest.

#5 polyfrag   Crossbones+   -  Reputation: 1877

Like
-1Likes
Like

Posted 22 August 2013 - 12:00 PM

I need an algorithm that uses past prices, sales and production to adjust future prices and production. It must be subject to changing conditions.



#6 Álvaro   Crossbones+   -  Reputation: 13692

Like
1Likes
Like

Posted 22 August 2013 - 01:04 PM

I need an algorithm that uses past prices, sales and production to adjust future prices and production. It must be subject to changing conditions.

No, you don't need an algorithm. You need to understand what data you have, what it is that you want to maximize, subject to what restrictions and using what models for things you need to estimate from incomplete data (e.g. the demand at each price point). Then, and only then, you will need an algorithm to perform the optimization. But the hard work is in the modeling of the problem.



#7 jms bc   Members   -  Reputation: 439

Like
0Likes
Like

Posted 22 August 2013 - 02:09 PM

Modeling Random Processes for Engineers and Managers by James Solberg. (I'm assuming probability distributions somewhere in the model.) Easy to understand and lots of problems that are similar to OPs question. 


The Four Horsemen of Happiness have left.


#8 polyfrag   Crossbones+   -  Reputation: 1877

Like
0Likes
Like

Posted 07 September 2013 - 09:02 PM

So you want me to try to graph the supply-demand curves and find where they intersect? I'm afraid my simulation might not conform to the laws of supply and demand.

What if I used neural networks? I can train it to try to maximize profit on a minute-to-minute basis. How would I do that? What data would be relevant?

- number of competitor buildings of same type
- number of labourers
- input prices

How would I build it to deal with a variable number of input resources for different production chains? I.e., you might need only stone to produce cement, but for metal you'd need electricity and ore. Would I need to train a neural net for each building type and production chain, if a building type has more than one?

#9 polyfrag   Crossbones+   -  Reputation: 1877

Like
0Likes
Like

Posted 08 September 2013 - 01:37 AM

Modeling Random Processes for Engineers and Managers by James Solberg. (I'm assuming probability distributions somewhere in the model.) Easy to understand and lots of problems that are similar to OPs question. 

 

Thanks, I'm getting it.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS