<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000065" xml:lang="en">
   <Header>
      <Title>Resource priority for optimization</Title>
      <Keyword type="header" order="d1e187831">
         <Level1>Resource priority for optimization</Level1>
      </Keyword>
      <Keyword type="header" order="d1e187834">
         <Level1>Optimizing logistic parameters</Level1>
      </Keyword>
      <Keyword type="header" order="d1e187837">
         <Level1>Resource priority</Level1>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>You can define a resource
		priority in the <GUIRef href="/baanerp/cp/rao/cprao3120m000" role="session">Resource Cost Values (cprao3120m000)</GUIRef> session to prevent changes to previously calculated
		optimization results.</Paragraph>
      <Paragraph>The optimization of
		logistic parameters is carried out for one resource at a time. Each resource
		has its own resource parameters. If the production of an item involves more
		than one resource, a problem arises: if you optimize the item's order
		parameters for one resource, the order parameters are not ideal for the other
		resources.</Paragraph>
      <Paragraph>LN resolves this
		problem by using resource priorities. LN records the resource for which the
		item's order parameters are optimized. If you repeat the optimization for a
		lower-priority resource, LN retains the old order parameters. If you repeat
		the optimization for a resource with a higher or an equal priority, LN discards the old order parameters.</Paragraph>
      <Paragraph>The <GUIRef href="/baanerp/cp/rao/cprao3110m000#cprao310.cwoc" role="manual">Resource</GUIRef> field in the <GUIRef href="/baanerp/cp/rao/cprao3110m000" role="session">Plan Items - Optimized Lot Sizes (cprao3110m000)</GUIRef> session displays the resource for
		which an item has been optimized.</Paragraph>
      <ExampleSection>
         <SectionTitle>Example</SectionTitle>
         <Paragraph>Item X is produced
		  with resources A and B Item Y uses only resource A Item Z uses only resource B</Paragraph>
      </ExampleSection>
      <Paragraph>Suppose that resource A
		has a higher priority than resource B, and that you first run an optimization
		for A, and then for B.</Paragraph>
      <Paragraph>During the optimization
		for resource A, LN calculates the optimal logistic parameters for items X
		and Y.</Paragraph>
      <Paragraph>During the optimization
		for resource B, LN does not change the logistic parameters of item X,
		because they were already optimized for a higher-priority resource. LN uses
		the logistic parameters (for example, lot size) of item X as constraints in the
		optimization of the logistic parameters for item Z.</Paragraph>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000042" role="manual">To optimize logistic parameters</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000131" role="manual">Optimization algorithm for logistic parameters</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>