<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000029" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Planning with iterations</Title>
		<Keyword><Level1>Planning with iterations</Level1>
		</Keyword>
		<Keyword><Level1>Iterations</Level1>
			<Level2>planning with</Level2>
		</Keyword>
	</Header>
	<GeneralSection><Paragraph>As a rule, the order in which plan items are planned in <Link href="/baanerp/cp/glossary/glossary#000059" role="glossary">master planning</Link> depends on the phase number of the plan unit that each item belongs to. (If a plan item is not linked to a plan unit, the phase number of the item itself is used). For more information, see <Link href="/baanerp/cp/onlinemanual/000156" role="manual">Planning sequence and phase numbers</Link>.</Paragraph>
		<Paragraph>The normal planning order starts with the lowest phase number, and ends with the highest phase number. SSA ERP assigns phase numbers in such a way that a manufactured item is planned before its components are planned. In this way, dependent demand originating from the end item is taken into account when its component is planned.</Paragraph>
		<Paragraph>However, this planning order poses a problem if material constraints are to be considered. Actually, a planning pass in the opposite direction (starting with the highest phase number: first component, then end item) would be the most efficient way to pass on the constraints to higher levels in the <Link href="/baanerp/ti/glossary/glossary#000081" role="glossary">bill of critical materials (BCM)</Link>. After that, a planning pass in the normal direction is needed again, to recompute the consequences of the constraint for all parts of the BCM structure.</Paragraph>
		<List><ListIntro>For this purpose, the workload-control planning algorithm uses iterations. An iteration is a two-way planning pass, consisting of:</ListIntro>
			<ListItem>A reverse planning pass (in order of decreasing phase number: first component, then end item).</ListItem>
			<ListItem>A normal planning pass (in order of increasing phase number: first end item, then component).</ListItem>
		</List>
		<Paragraph>For an example, see <Link href="/baanerp/cp/onlinemanual/000030" role="manual">Planning with iterations, an example</Link>.</Paragraph>
		<Paragraph>In principle, one iteration can be sufficient if all items to be planned belong to only one BCM structure. Usually, however, the planning situation is more complex, with different production processes competing for a common resource or for a common component item. In such cases, full optimization of the entire planning requires the use of multiple iterations. In the <GUIRef href="/baanerp/cp/rmp/cprmp1202m000" role="session">Generate Master Planning (cprmp1202m000)</GUIRef> session, you can specify the maximum number of iterations used for the simulation run.</Paragraph>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000003" role="manual">Workload control</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000027" role="manual">Workload control, to plan against constraints</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000028" role="manual">Planning without iterations, an example</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000030" role="manual">Planning with iterations, an example</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/cp/onlinemanual/000004" role="manual">Workload control, to compute planning priorities</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
