Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 54cac1c2268db633d66eeff1b4faa585 > files > 45

frepple-doc-0.8.1-3.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  <title>Frepple / Problem </title>
  <link rel='stylesheet' href='../styles.css' type='text/css' />
  <!--PageHeaderFmt-->  
</head>
<body>
<div id="container">

<div id="menubar">
  
<div id="logo" align="center">
<br/><img src='../frepple.bmp' alt="frepple" /><br/>
<a href='http://www.frepple.com/'>
<strong>a Free<br/>Production Planning<br/>Library</strong>
</a></div>
<div id="menu">
<br/>
<h3><a href='../Main/HomePage.html'>Main</a></h3>
<h3><a href='../UI/Main.html'>User Manual</a></h3>
<h3><a href='../Tutorial/Main.html'>Tutorial</a></h3>
<h3><a href='Main.html'>Reference Manual</a></h3>
<h3><a href='../Main/FAQ.html'>FAQ</a></h3>
<h3><a href='../reference/index.html'>C++ API</a></h3>
<br/><div>
</div>  
</div>
</div>

<div id="content">
<br/>
<!--PageText-->
<div id='wikitext'>
<p><a class='wikilink' href='../Main/HomePage.html'>Main</a> &gt; <span class='wikitrail'><a class='wikilink' href='Main.html'>Reference Manual</a> > <a class='wikilink' href='Modeling.html'>Modeling</a> > <a class='selflink' href='ModelingProblem.html'>Problem</a></span>
</p>
<p class='vspace'>FrePPLe will automatically detect problems and inconsistencies in the plan. 
</p>
<p class='vspace'>Problem detection can optionally be disabled on entities by setting the field "DETECTPROBLEMS" to false.
</p>
<p class='vspace'>Problems are export-only, i.e. you can't read them as input.
</p>
<div class='vspace'></div><h2>Types</h2>
<table border='1' width="100%" ><tr><td width='20%'  valign='top'><strong>Problem Entity</strong>
</td><td width='20%'  valign='top'><strong>Problem Category</strong>
</td><td width='60%'  valign='top'><strong>Description</strong>
</td></tr><tr><td  valign='top'>demand
</td><td  valign='top'>unplanned
</td><td  valign='top'>
<p>No plan exists yet to satisfy this demand.
</p></td></tr><tr><td  valign='top'>demand
</td><td  valign='top'>excess
</td><td  valign='top'>
<p>A demand is planned for more than the requested quantity.
</p></td></tr><tr><td  valign='top'>demand
</td><td  valign='top'>short
</td><td  valign='top'>
<p>A demand is planned for less than the requested quantity.
</p></td></tr><tr><td  valign='top'>demand
</td><td  valign='top'>late
</td><td  valign='top'>
<p>A demand is satisfied later than the accepted tolerance after its due date
</p></td></tr><tr><td  valign='top'>demand
</td><td  valign='top'>early
</td><td  valign='top'>
<p>A demand is planned earlier than the accepted tolerance before its due date.
</p></td></tr><tr><td  valign='top'>resource
</td><td  valign='top'>overload
</td><td  valign='top'>
<p>A resource is being overloaded during a certain period of time.
</p></td></tr><tr><td  valign='top'>resource
</td><td  valign='top'>underload
</td><td  valign='top'>
<p>A resource is loaded below its minimum during a certain period of time.
</p></td></tr><tr><td  valign='top'>buffer
</td><td  valign='top'>material excess
</td><td  valign='top'>
<p>A buffer is carrying too much material during a certain period of time.
</p></td></tr><tr><td  valign='top'>buffer
</td><td  valign='top'>material shortage
</td><td  valign='top'>
<p>A buffer is having a material shortage during a certain period of time.
</p></td></tr><tr><td  valign='top'>operationplan
</td><td  valign='top'>before current
</td><td  valign='top'>
<p>Flagged when an operationplan is being planned in the past, i.e. it starts before the current date of the plan.
</p></td></tr><tr><td  valign='top'>operationplan
</td><td  valign='top'>before fence
</td><td  valign='top'>
<p>Flagged when an operationplan is being planned before its fence date, i.e. it starts 1) before the current date of the plan plus the release fence of the operation and 2) after the current date of the plan.
</p></td></tr><tr><td  valign='top'>operationplan
</td><td  valign='top'>precedence
</td><td  valign='top'>
<p>Flagged when the sequence of two operationplans in a routing isn't respected.
</p></td></tr><tr><td  valign='top'>
<p>demand<br />or buffer<br />or resource<br />or operation
</p></td><td  valign='top'>invalid data
</td><td  valign='top'>
<p>Some data problem prevents this object from being planned.
</p></td></tr></table>
<div class='vspace'></div><h2>Fields</h2>
<table border='1' width="100%" ><tr><td width='20%'  valign='top'><strong>Field</strong>
</td><td width='20%'  valign='top'><strong>Type</strong>
</td><td width='60%'  valign='top'><strong>Description</strong>
</td></tr><tr><td  valign='top'>name
</td><td  valign='top'>normalizedString
</td><td  valign='top'>
<p>Problem type.
</p></td></tr><tr><td  valign='top'>description
</td><td  valign='top'>normalizedString
</td><td  valign='top'>
<p>Description of the problem.
</p></td></tr><tr><td  valign='top'>weight
</td><td  valign='top'>double
</td><td  valign='top'>
<p>A number expressing the seriousness of the problem.
</p></td></tr><tr><td  valign='top'>start
</td><td  valign='top'>dateTime
</td><td  valign='top'>
<p>Date at which the problem starts.
</p></td></tr><tr><td  valign='top'>end
</td><td  valign='top'>dateTime
</td><td  valign='top'>
<p>Date at which the problem ends.
</p></td></tr></table>
<div class='vspace'></div><h2>Example Python code</h2>
<ul><li>Iterate over all problems
</li></ul><pre>    for i in frepple.problems():
       print i.entity, i.name, i.description, i.start, i.end, i.weight
</pre><div class='vspace'></div>
</div>

<!--PageFooterFmt-->
<!--HTMLFooter-->
</div></div>
</body>
</html>