Optimizing a hypothetical factory system

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












You have 1 factory that produces cars, and 1 "builder" factory that produces other factories (either car factories, or other builder factories; the latter take twice as long). You want to maximize the number of cars produced over 4 years. What is the optimal number of builder factories to produce before producing other car factories? “Builder” factories take a month to make, while car factories take half a month. Car factories produce a car a day.



I attempted to write a program that would try every number of “builder” factories up to 10000000, but I could not find a way to model the increase in production from previously constructed builders.







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    You have 1 factory that produces cars, and 1 "builder" factory that produces other factories (either car factories, or other builder factories; the latter take twice as long). You want to maximize the number of cars produced over 4 years. What is the optimal number of builder factories to produce before producing other car factories? “Builder” factories take a month to make, while car factories take half a month. Car factories produce a car a day.



    I attempted to write a program that would try every number of “builder” factories up to 10000000, but I could not find a way to model the increase in production from previously constructed builders.







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      You have 1 factory that produces cars, and 1 "builder" factory that produces other factories (either car factories, or other builder factories; the latter take twice as long). You want to maximize the number of cars produced over 4 years. What is the optimal number of builder factories to produce before producing other car factories? “Builder” factories take a month to make, while car factories take half a month. Car factories produce a car a day.



      I attempted to write a program that would try every number of “builder” factories up to 10000000, but I could not find a way to model the increase in production from previously constructed builders.







      share|cite|improve this question











      You have 1 factory that produces cars, and 1 "builder" factory that produces other factories (either car factories, or other builder factories; the latter take twice as long). You want to maximize the number of cars produced over 4 years. What is the optimal number of builder factories to produce before producing other car factories? “Builder” factories take a month to make, while car factories take half a month. Car factories produce a car a day.



      I attempted to write a program that would try every number of “builder” factories up to 10000000, but I could not find a way to model the increase in production from previously constructed builders.









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 21 at 14:44









      George Bidgood

      264




      264

























          active

          oldest

          votes











          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858543%2foptimizing-a-hypothetical-factory-system%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858543%2foptimizing-a-hypothetical-factory-system%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?