<?xml version="1.0" encoding="ISO-8859-1"?><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<front>
<journal-meta>
<journal-id>0120-6230</journal-id>
<journal-title><![CDATA[Revista Facultad de Ingeniería Universidad de Antioquia]]></journal-title>
<abbrev-journal-title><![CDATA[Rev.fac.ing.univ. Antioquia]]></abbrev-journal-title>
<issn>0120-6230</issn>
<publisher>
<publisher-name><![CDATA[Facultad de Ingeniería, Universidad de Antioquia]]></publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id>S0120-62302011000500014</article-id>
<title-group>
<article-title xml:lang="en"><![CDATA[Activity scheduling through gantt charts in an ms excel spreadsheet]]></article-title>
<article-title xml:lang="es"><![CDATA[Diagramas gantt para programación de actividades en el tiempo en diferentes recursos usando ms excel]]></article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname><![CDATA[Caballero Villalobos]]></surname>
<given-names><![CDATA[Juan P]]></given-names>
</name>
<xref ref-type="aff" rid="A01"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname><![CDATA[Jarro Sanabria]]></surname>
<given-names><![CDATA[Sandra P]]></given-names>
</name>
<xref ref-type="aff" rid="A02"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname><![CDATA[García Cáceres]]></surname>
<given-names><![CDATA[Rafael G]]></given-names>
</name>
<xref ref-type="aff" rid="A03"/>
</contrib>
</contrib-group>
<aff id="A01">
<institution><![CDATA[,Pontificia Universidad Javeriana Department of industrial engineering ]]></institution>
<addr-line><![CDATA[Bogotá ]]></addr-line>
<country>Colombia</country>
</aff>
<aff id="A02">
<institution><![CDATA[,Pontificia Universidad Javeriana  ]]></institution>
<addr-line><![CDATA[Bogotá ]]></addr-line>
<country>Colombia</country>
</aff>
<aff id="A03">
<institution><![CDATA[,Escuela Colombiana de Ingeniería Departament of Industrial Engineering ]]></institution>
<addr-line><![CDATA[Bogotá ]]></addr-line>
<country>Colombia</country>
</aff>
<pub-date pub-type="pub">
<day>00</day>
<month>12</month>
<year>2011</year>
</pub-date>
<pub-date pub-type="epub">
<day>00</day>
<month>12</month>
<year>2011</year>
</pub-date>
<numero>61</numero>
<fpage>132</fpage>
<lpage>145</lpage>
<copyright-statement/>
<copyright-year/>
<self-uri xlink:href="http://www.scielo.org.co/scielo.php?script=sci_arttext&amp;pid=S0120-62302011000500014&amp;lng=en&amp;nrm=iso"></self-uri><self-uri xlink:href="http://www.scielo.org.co/scielo.php?script=sci_abstract&amp;pid=S0120-62302011000500014&amp;lng=en&amp;nrm=iso"></self-uri><self-uri xlink:href="http://www.scielo.org.co/scielo.php?script=sci_pdf&amp;pid=S0120-62302011000500014&amp;lng=en&amp;nrm=iso"></self-uri><abstract abstract-type="short" xml:lang="en"><p><![CDATA[Effective communication of task-resource assignment plans comprises several challenges in important fields such as production scheduling and/or project management. Said difficulties result from the cost and sophistication level of most project planning information tools, and from the pedagogic challenge implied in getting people with different educational levels to communicate through such tools. The present work introduces the implementation grounds of a simple information technology development for the construction of Gantt charts as decision making support tools for people or companies that have limited access to sophisticated information technology tools. The implementation and execution of the Visual Basic code with Excel applications are described in detail, as well as the correct use of the Excel solver add-in from VBA macros to solve the implemented mathematical models.]]></p></abstract>
<abstract abstract-type="short" xml:lang="es"><p><![CDATA[La comunicación efectiva de los planes de asignación de recursos-tareas presenta retos importantes en campos como programación de la producción y/o la gestión de proyectos. Esta dificultad, en parte, se debe al costo y nivel de sofisticación de las herramientas informáticas existentes para la programación de proyectos, y al reto pedagógico que implica su comunicación con personas de disimiles grados de escolaridad. Este trabajo muestra los fundamentos de implementación de un sencillo desarrollo informático para la construcción de diagramas Gantt de uso conveniente para apoyar el desarrollo técnico del proceso de toma de decisiones en compañías o personas que no cuentan con la posibilidad de adquirir sofisticados recursos informáticos. El trabajo describe detalladamente la implementación en Visual Basic para Aplicaciones y adicionalmente muestra el uso del complemento solver de Excel invocado desde macros de VBA para solucionar los modelos matemáticos implementados.]]></p></abstract>
<kwd-group>
<kwd lng="en"><![CDATA[Directed graphs]]></kwd>
<kwd lng="en"><![CDATA[Gantt's charts]]></kwd>
<kwd lng="en"><![CDATA[project management]]></kwd>
<kwd lng="en"><![CDATA[scheduling]]></kwd>
<kwd lng="en"><![CDATA[spreadsheet program]]></kwd>
<kwd lng="es"><![CDATA[Grafos dirigidos]]></kwd>
<kwd lng="es"><![CDATA[diagramas de Gantt]]></kwd>
<kwd lng="es"><![CDATA[programación de proyectos]]></kwd>
<kwd lng="es"><![CDATA[programación de la producción]]></kwd>
<kwd lng="es"><![CDATA[programas en hoja de cálculo]]></kwd>
</kwd-group>
</article-meta>
</front><body><![CDATA[ <p align="right"><font face="Verdana" size="2"><b>ARTÍCULO ORIGINAL</b></font></p>     <p align="right">&nbsp;</p>     <p align="center"><font face="Verdana" size="4"> <b>Activity scheduling through gantt charts in an ms excel spreadsheet</b></font></p>     <p align="center">&nbsp;</p>     <p align="center"><font face="Verdana" size="3"> <b>Diagramas gantt para programaci&oacute;n de actividades en el tiempo en diferentes recursos usando ms excel</b></font></p>     <p align="center">&nbsp;</p>     <p align="center">&nbsp;</p>     <p> <font face="Verdana" size="2"> <i>Juan P. Caballero Villalobos<sup>1</sup>, Sandra P. Jarro Sanabria<sup>2</sup>, Rafael G. Garc&iacute;a C&aacute;ceres<sup>3*</sup></i></font></p>       <p><font face="Verdana" size="2"><sup>1</sup>Assistant professor and member of CIOL group (Optimization  and Logistics Research Center). Department of industrial engineering.  Pontificia Universidad Javeriana. Cll 40 No 5&#8211;50. Bogot&aacute;, Colombia.    <br>       ]]></body>
<body><![CDATA[<br>  <sup>2</sup>Assistant profesor and director of the Civil Engineering Career  at Pontificia Universidad Javeriana. Cll 40 No 5&#8211;50 Bogot&aacute;, Colombia.    <br>    <br>  <sup>3</sup>Associated professor, Co&#8211;Director of CIOL group  (Optimization and Logistics Research Center), and Director of CIMSER Group  (Manufacturing and Services Research Center. Departament of Industrial  Engineering. Escuela Colombiana de Ingenier&iacute;a. A.A. 14520 AK.45 No. 205&#8211;59  (Autopista Norte) Bogot&aacute;, Colombia.</font></p>      <p><font face="Verdana" size="2"><sup>*</sup>Autor de correspondencia: tel&eacute;fono: + 57 + 1 + 668 36 00 ext. 278&#8211;279, correo electr&oacute;nico: <a href="mailto:rafael.garcia@escuelaing.edu.co">rafael.garcia@escuelaing.edu.co</a> (R. Garc&iacute;a)</font></p>     <p>&nbsp;</p>     <p align="center"><font face="Verdana" size="2">(Recibido  el 21 de junio de 2011. Aceptado el 11 de noviembre de 2011)</font></p>     <p align="center">&nbsp;</p> <hr noshade size="1">      <p><font face="Verdana" size="2"><b>Abstract</b></font></p>       <p><font face="Verdana" size="2">Effective communication of task&#8211;resource assignment plans  comprises several challenges in important fields such as production scheduling  and/or project management. Said difficulties result from the cost and  sophistication level of most project planning information tools, and from the  pedagogic challenge implied in getting people with different educational levels  to communicate through such tools. The present work introduces the  implementation grounds of a simple information technology development for the  construction of Gantt charts as decision making support tools for people or  companies that have limited access to sophisticated information technology  tools. The implementation and execution of the Visual Basic code with Excel  applications are described in detail, as well as the correct use of the Excel solver  add&#8211;in from VBA macros to solve the implemented mathematical models.</font></p>       <p><font face="Verdana" size="2"><i>Keywords:</i> Directed graphs,  Gantt's charts, project management, scheduling, spreadsheet program </font></p>  <hr noshade size="1">     ]]></body>
<body><![CDATA[<p><font face="Verdana" size="2"><b>Resumen</b></font></p>     <p><font face="Verdana" size="2">La  comunicaci&oacute;n efectiva de los planes de asignaci&oacute;n de recursos&#8211;tareas presenta  retos importantes en campos como programaci&oacute;n de la producci&oacute;n y/o la gesti&oacute;n  de proyectos. Esta dificultad, en parte, se debe al costo y nivel de  sofisticaci&oacute;n de las herramientas inform&aacute;ticas existentes para la programaci&oacute;n  de proyectos, y al reto pedag&oacute;gico que implica su comunicaci&oacute;n con personas de  disimiles grados de escolaridad. Este trabajo muestra los fundamentos de  implementaci&oacute;n de un sencillo desarrollo inform&aacute;tico para la construcci&oacute;n de  diagramas Gantt de uso conveniente para apoyar el desarrollo t&eacute;cnico del  proceso de toma de decisiones en compa&ntilde;&iacute;as o personas que no cuentan con la  posibilidad de adquirir sofisticados recursos inform&aacute;ticos. El trabajo describe  detalladamente la implementaci&oacute;n en Visual Basic para Aplicaciones y  adicionalmente muestra el uso del complemento solver de Excel invocado desde  macros de VBA para solucionar los modelos matem&aacute;ticos implementados.</font></p>      <p><font face="Verdana" size="2"><i>Palabras clave: </i>Grafos dirigidos,  diagramas de Gantt, programaci&oacute;n de proyectos, programaci&oacute;n de la producci&oacute;n,  programas en hoja de c&aacute;lculo</font></p>   <hr noshade size="1">      <p>&nbsp;</p>     <p>&nbsp;</p>     <p><font face="Verdana" size="3"><b>Introduction and background</b></font></p>     <p><font face="Verdana" size="2">Gantt charts are project and production management tools  (among other possible applications) that allow determining the starting and  finishing times of several activities that make use of different resources on a  time line. Although described by the author as a graphic development, the  original proposal was a table arrangement &#91;1&#93;, which not only facilitates an  exact comparison of delivered to programmed production quantities, but also  allows taking corrective actions. In such doing, it identifies daily production  amounts with their corresponding starting and finishing times, which implicitly  defines the sequence of operations implied. This type of chart contemplates all  the commitments assumed with the client, thus leading to focus attention on  overcoming obstacles and preventing delay; and when fulfilling seems  impossible, to a timely notification &#91;2&#93;. The importance of Gantt charts has to  do with how simple and easy to understand they are, which might be the reason  why they have kept their popularity &#91;3&#93;. According to &#91;1&#93;, Gantt charts had  been identified since the mid 1920's as a useful production planning tool, and  even, the original tool that considers the concept of production batch policy  without intermediate inventories constituted a first approach to the notion of ''lean  production''.    <br>    <br>    Although the Gantt charts started to be studied since the  publication of Taylor's book ''Shop Management'' (1919), they were already in use  for controlling daily production since the beginning of the twentieth century  &#91;4,5&#93;. Considered for years as the best practice in real production  environments, they have evolved with the complexity of production settings, as  it is shown by &#91;6,7&#93;, among other relevant works.    <br>    ]]></body>
<body><![CDATA[<br>      Even though nowadays one of the most important uses of  Gantt charts is their application to project management, it only appeared long  after the original proposal had come out. Since then, despite a period of disuse  caused by the preponderant utilization of critical path methods, the massive  application of Gantt charts as a complementary technique has been increasing  lately, to the point of their mandatory inclusion in project management  software &#91;8&#93;.    <br>    <br>      From the standpoint of software packages, nowadays there  exist several suites for production scheduling and project management that  include Gantt charts among their analysis tools &#91;9&#8211;11&#93;. Organizations such as  APICS, POMS and PMI offer updated information on recent Information Technology  advances in the field. Although there is evidence of the development of  tailored production scheduling systems in manufacturing and project management  companies &#91;3&#93;, they are far from being reported at the level of detail of the  current one, because they are under intellectual property protection e.g ILOG  Inc, Metafuse Inc., and ViewPath Inc, among others.    <br>    <br>    The present review shows the  current relevance of this planning tool, especially in the two cited contexts:  production scheduling and project management. Also, it underscores the scarcity  of free software resources for building own planning packages by users that  cannot afford them. In this sense, this work adheres to &#91;3&#93;, who holds that  despite their broad applicability to decision making support, Gantt charts are  still far from reaching full utilization.</font></p>      <p>&nbsp;</p>     <p><font face="Verdana" size="3"><b>Development</b></font></p>     <p> <font face="Verdana" size="2"><b><i>Basic concepts</i></b></font></p>      <p> <font face="Verdana" size="2"><i>Information technology</i></font></p>      <p><font face="Verdana" size="2">Information technology has had a big impact on production  scheduling and project management &#91;3&#93;. Regarding our topic, this process has  taken three technological ways: 1. Operational research mainly supported on net  flow algorithmic and mathematical programming, both embedded in LP &#91;12&#93;. 2.  Information technology tools themselves, summarized in computer languages and  applications. and 3. Advances in computer processing capacity. Altogether,  these three factors have allowed tackling practical problems. In this sense,  the present implementation has been set in VBA, counting with an Excel reading&#8211;  writing interface, and is executable from an ordinary PC; all of which confers  it considerable effectuation easiness, as far it has no need of data base  experts, low level languages or great execution power.    ]]></body>
<body><![CDATA[<br>    <br>  Said advantage also has to do  with the Microsoft Excel solver application, which by using the solver add&#8211;in  allows solving linear, mixed and non&shy;linear problems whose objectives and  constraints can be expressed mathematically. As analogs of the variables of the  mathematical model it uses spreadsheet cells to which it assigns the optimal  values of the solution of the situation to be worked out. The constraints and  the objective function are created through linking formulas between the cells  that work as variables and those that contain the parameters of the model.</font></p>      <p> <font face="Verdana" size="2"><i>Basic definitions</i></font></p>        <p><font face="Verdana" size="2"><i>Programming</i> is a decision making process that plays an important role  in most manufacturing and services companies. It makes use of mathematical  techniques or heuristic methods to assign limited resources to the performance  of several tasks &#91;13&#93;. In turn, project management implies applying knowledge,  abilities, tools and techniques to the execution of a project, in order to  achieve its requirements &#91;14&#93;. This institution defines project activities as  the elements that are used in fulfilling it. Normally, any activity has an  expected duration, cost and resource requirements. Among the latter we can  count people, equipments and materials that are necessary to conduct the  activity.    <br>    <br>      The development of the tool is presented below in two  sections: the first one describes two strategies for determining the earliest  values of the activities, as part of the elaboration of the Gantt diagram. The  second section presents the VBA implementation of the strategies treated in the  previous section, as well as the corresponding spreadsheet configurations.</font></p>          <p> <font face="Verdana" size="2"><b><i>Applied Algorithms</i></b></font></p>       <p> <font face="Verdana" size="2"><i>Topological order</i></font></p>       <p><font face="Verdana" size="2">In an acyclic net G = {N, A}, where N is the set of nodes  and A is the set of arcs between pairs of nodes that belong to the net, the  latter acquire a topological arrangement if for every (i,j) arc of the net, the  topological order assigned to node i is lower than that assigned  to nod  j &#91;12&#93;. The  pseudo&#8211;code of a topological order assignment algorithm is presented below:    <br>    ]]></body>
<body><![CDATA[<br>        <b>Topological arrangement  algorithm</b>    <br>    <b>For every</b> i in N <b>do</b> indegree(i) := 0;     <br>    <b>For every</b> (i, j) in A <b>do</b> indegree(j) := indegree(j) +  1;     <br>    LIST := &oslash;;     <br>    next := 0;    <br>    <b>for every</b> i in N <b>do</b>    <br>    <b>if</b> indegree( i ) = 0 <b>then</b> LIST := LIST + { i };    <br>    <b>while</b> LIST &ne; &oslash; <b>do</b>     <br>    Choose a node i from LIST;     <br>    LIST := LIST &#8211; { i };     ]]></body>
<body><![CDATA[<br>    next := next + 1;     <br>    order(i) := next;    <br>    <b>for every</b> (i,j) in A(i) <b>do</b>    <br>    indegree( j ) := indegree( j )  &#8211; 1;    <br>    <b>if</b> indegree( j ) := 0 <i>then</i> LIST := LIST + { j };     <br>    <b>end for     <br>    end while</b>    <br>    <b>if</b> next &lt; n <b>then</b> the graph contains a directed  cycle    <br>    <b>else</b> the graph is acyclic and has  been arranged topologically    <br>    <b>end algorithm;</b>    ]]></body>
<body><![CDATA[<br>    <br>        The variable &quot;indegree( j )'', registers, at every  moment, how many preceding&#8211;<em>j</em> nodes have not been assigned  their corresponding topological order in the net. The variable ''next'' counts  how many nodes have already been assigned their corresponding topological order  in the net.</font></p>          <p> <font face="Verdana" size="2"><i>Label correction algorithms</i></font></p>             <p><font face="Verdana" size="2">Frequently used in net flow applications, they are  iterative algorithms in which tentative distance labels are assigned, likely to  be moved to a new node at every step. These labels only become permanent once  the last step of the algorithm has been executed. These algorithms are part of  master programs that allow treating more general problems in which an arc  representing a negative distance might be found. Also, they can be more  flexibly adapted to the problem that needs to be solved. For a review of this  concept, we recommend the work of &#91;12&#93;.    <br>    <br>      The pseudo&#8211;code of the label correction general algorithm  for calculating minimum distances between a dummy node and each of the nodes in  a directed non&#8211;cyclic net is presented next:    <br>    <br>       <b>A1 Label correction algorithm</b>    <br>    d(s) = 0 and  pred(s) = 0;    <br>    <b>for every</b> j in N&#8211;{s} do d(j) := inf;    ]]></body>
<body><![CDATA[<br>    <b>as far as any arc</b> (i,j) satisfies    <br>    d(j) &gt; d(i) +  ci,j do    <br>    d(j) := d(i) +  cij; pred(j) = i;    <br>    <b>end as far as     <br>    end algorithm;</b>    <br>    <br>        The algorithm above allows recalling the minimum distance  path that goes from the original node to the other nodes of the net. This is  done through the variable pred (<em>j</em>), which traces back the  minimum distance path that goes from node j to the original dummy node.</font></p>          <p> <font face="Verdana" size="2"><i>Determination of earliest activity starting times    <br>    <br>    &bull; Linear Model</i></font></p>           ]]></body>
<body><![CDATA[<p><font face="Verdana" size="2">This approach assumes that any sequence of activities that  makes use of different resources can be expressed by means of a acyclic  directed graph. The latter is made up of nodes representing activities, and  arcs between nodes, representing precedence relationships between nodes. These  arcs have been assigned specific values that represent the time it takes to get  to a given activity, starting from the preceding one. Authors such as  &#91;12,15,16&#93;, among others, present a large series of applications in different  fields that make use of this technical approach to define, for example, the  precedence relationships that result from the decision to carry out a given  activity before another one, with regards to each of the resources needed for  such performance.    <br>    <br>      Several linear models have been associated to this graphic  representation. Said models allow finding activity schedules according to  different metrics &#91;17&#93;. One of them is particularly adequate for establishing  the starting and finishing times of activities, so as to minimize the maximum  completion time it takes to execute them all. Below is the mathematical  programming formulation used for scheduling the activities of acyclic graph G =  {N, A}:    <br>    <br>        MM1     <br>    Sets:    <br>    N: Nodes     <br>    A: Arcs    <br>    <br>        <i>Parameters:</i>    ]]></body>
<body><![CDATA[<br>    p_pi :processing  time of activity i     <br>    p_ri :release time  of activity i    <br>    <br>        <i>Variables:</i>    <br>    v_s<sub>i</sub> :starting time  of activity i     <br>    v_w:maximum completion time    <br>    <br>        <i>Objective  Function:</i>    <br>    Minimize  z=v_w    <br>    ]]></body>
<body><![CDATA[<br>        <i>Constraints:</i>    <br>    v_s<sub>j</sub> &ge;v_Si +p_p &forall;{i,j} <img src="img/revistas/rfiua/n61/n61simbolopertenece.gif"> A(I)     <br>    v_s<sub>i</sub> &ge;p_r<sub>i</sub> &forall;i <img src="img/revistas/rfiua/n61/n61simbolopertenece.gif"> N (II)    <br>    v_w&ge; v_s<sub>i</sub> +p_p<sub>i</sub> &forall;i <img src="img/revistas/rfiua/n61/n61simbolopertenece.gif"> N(III)    <br>    v_s<sub>i</sub> &ge;0 &forall;i <img src="img/revistas/rfiua/n61/n61simbolopertenece.gif"> N    <br>    <br>      The value assigned to variable  is the time it takes to start activity <i>i</i>. Variable, as the maximum bound of the completion  times of all activities, allows finding the C<sub>max</sub> time. It is assumed  that no interruption is allowed  once the processing of an activity is started.</font></p>        <p> <font face="Verdana" size="2"><i>&bull; Net flow option</i></font></p>         <p><font face="Verdana" size="2">This alternative establishes the earliest activity starting  times in two stages. The first one assigns the topological order to each node  in the acyclic directed graph G = {N, A}. The second one applies the label  correction algorithm to estimate the earliest finishing time of each activity,  according to their existing precedence relations and release times.    <br>    ]]></body>
<body><![CDATA[<br>      With the aim of eventually counting with activity RELEASE  times and not needing the dummy node s proposed by the original  label correction algorithm A1, the latter is modified, leading to:    <br>    <br>        <b>Modified label correction algorithm    <br>    for every</b> j in N <b>do</b> d(j) := 0;    <br>    <b>scan according to  the previously    <br>    assigned  topological order    <br>    if</b> d(i) = 0 <b>then</b> d(i) = r(i) + p(i)     <br>    <b>as far as any</b> arc (i,j) <b>satisfies</b> d(j) &lt; d(i) + p(j) <b>do</b>    <br>    d(j) := max{ d(i) , r(j) } +  p(j);     <br>    pred(j) = i;     ]]></body>
<body><![CDATA[<br>    <b>end as far as     <br>    end algorithm;</b>    <br>    <br>        Where r(i) represents the release time of activity i, and  p(i) is the processing time of activity <i>i</i>, which has been assigned lower  topological order than activity <i>j</i>.    <br>    <br>        For explanatory purposes, we shall illustrate the following  example. Given a problem that seeks to minimize the completion time of its last  activity (K), <a href="#Tabla1">table 1</a> shows the precedence relations between activities, as  well as their completion and technical release times.</font></p>.           <p align="center"><img src="img/revistas/rfiua/n61/n61a14t01.gif" ><a name="Tabla1"></a></p>          <p> <font face="Verdana" size="2">This situation can be represented through the acyclic directed graph shown in <a href="#Figura1">figure 1</a>.</font></p>          <p align="center"><img src="img/revistas/rfiua/n61/n61a14i01.gif" ><a name="Figura1"></a></p>              <p> <font face="Verdana" size="2">In the figure above the solid line arcs represent  precedence relations between activities, while the dashed line ones represent  existing technical restrictions. The problem presented in  <a href="#Tabla1">table 1</a> and <a href="#Figura1">figure 1</a>  can be solved either by using an lp solver or by the net flow algorithm.</font></p>          ]]></body>
<body><![CDATA[<p> <font face="Verdana" size="2"><b><i>VBA Implementationss</i></b></font></p>          <p> <font face="Verdana" size="2"><i>Linear Model</i></font></p>          <p><font face="Verdana" size="2">Below is shown the Excel structure designed required to  find the parameters used by the algorithms. The structure consists of two  spreadsheets. The first one, named <i>Parameters</i>, describes the activities to be  programmed, and the existing relationships between them. The first line  contains the headings of the columns that, starting from the second line, store  homogeneous data, as follows: column A lists the activities of the problem;  column B represents the variables; column C expresses the finishing time of the  activity, calculated as the sum of its starting values plus its processing time  (second and fifth columns, respectively); column D presents the minimal  technical time from which the activity can be started (release time); column E  contains the completion time of the activity; column F identifies the resource  where the activity should be programmed; finally, column G, as well as the  following ones, indicate the names of the activities that follow the one in  column A. This scheme allows defining multiple precedence relationships between  different pairs of activities. <a href="#Figura2">Figure 2</a> presents an example of the Parameters  sheet with 11 activities labeled from <b>a</b> to <b>k</b>. The gray cells correspond to  the variable  <i>v_s</i> associated  to each activity; whereas the activities in columns G and the following ones are  those that come after the activity in column A.</font></p>          <p align="center"><img src="img/revistas/rfiua/n61/n61a14i02.gif" ><a name="Figura2"></a></p>          <p><font face="Verdana" size="2">As  a consequence of this arrangement, the interpretation of the information in  line 5 of figure 2 goes as follows: the activity identified as d can only be programmed in  resource  C, starting  from time 1, and with a 3 unit processing time. Finally, the existing  precedence relations between activities are as follows: <b>d</b> <img src="img/revistas/rfiua/n61/n61a14e00a.gif"> <b>f</b> and <b>d</b> <img src="img/revistas/rfiua/n61/n61a14e00a.gif"> <b>i</b>, implying that neither<b> i</b> nor <b>f</b> can be started before having  finished activity <b>d</b>. The Visual Basic code of the linear model is shown below.    <br>    <br>        1 &nbsp;&nbsp; Solver linear sub model ()    <br>     2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim a As Object    <br>     3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim n_activities, line, i, j, successor    <br>     4    ]]></body>
<body><![CDATA[<br>     5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set a = AddIns(''Solver'')    <br>     6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If a.Installed = True Then    <br>     7 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox ''The Solver add&#8211;in is installed''    <br>     8 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else    <br>     9 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a.Installed = True    <br>     10 &nbsp;&nbsp;&nbsp;&nbsp; End If    <br>     11     <br>     12 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Determine the number of activities to be programmed</i>    <br>     13 &nbsp;&nbsp;&nbsp;&nbsp; n_activities = count_n_activities()    <br>     14    ]]></body>
<body><![CDATA[<br>     15 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Resets the solver's default  configuration</i>    <br>     16 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SolverReset    <br>     17 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SolverOptions Precision:=0.001, AssumeNonNeg:=True, _    <br>     18 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AssumeLinear:=True, Iterations:=30000    <br>     19     <br>     20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Add max function to the finishing times of the tasks</i>    <br>     21 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range(''H1'').Formula = ''=MAX($C$2:$C$'' <i>&amp;</i> n_activities + 1  <i>&amp;</i> '')''    <br>     22     <br>     23&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Minimize the value of cell &quot;H1&quot; by changing B2  cells to B n_activities+1</i>    <br>     24 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SolverOK SetCell:=Range(&quot;H1&quot;), MaxMinVal:=2, _    ]]></body>
<body><![CDATA[<br>     25 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ByChange:=Range(&quot;B2:B&quot; <i>&amp;</i>  n_activities + 1)    <br>     26     <br>     27 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Addprecedence constraints, relation 3 is &gt; =</i>    <br>     28 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Starting times must be greater than, or equal to release  times</i>    <br>     29 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Solveradd cellRef:=''$B$2:$B$'' &amp; n_activities + 1,  relation:=3, _    <br>     30 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Formulatext:=''$D$2:$D$'' <i>&amp;</i>  n_activities + 1    <br>     31     <br>     32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  i = 1    <br>     33 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While i &lt;= n_activities <i>'scan each and every activity</i>    <br>     34 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; j = 7 <i>'column G, where the coming  activities are listed</i>    ]]></body>
<body><![CDATA[<br>     35 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(i + 1, j) &lt;&gt; Empty <i>'scan each and  every successor</i>    <br>     36 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; successor = locate_activity(Cells(i + 1, j))    <br>     37 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(sucesor = &#8211;1)Then    <br>     38 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox ''activity:'' <i>&amp;</i> Cells(i  + 1, j) <i>&amp;</i> _    <br>     39 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ''Has not been found,  please check the spelling.''    <br>     40 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else    <br>     41 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Add constraint to model s_j  &gt;= s_i + p_i</i>    <br>     42 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Solveradd cellRef:= ''$B$'' &amp;  successor, relation:=3, _    <br>     43 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Formulatext:=  ''$B$'' &amp; i + 1 &amp; ''+$E$'' &amp; i + 1    <br>     44 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    ]]></body>
<body><![CDATA[<br>     45 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; j = j + 1     <br>     46 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>     47    <br>     48&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>'Add  constraints for the variable in o.f. to be &gt;= any finishing time.</em>    <br>     49&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>'Starting  times must be greater than, or equal to release times.</em>    <br>     50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Solveradd  cellRef:= ''$C$'' &amp; i + 1, relation:=1, Formulatext:= ''$H$1''    <br>     51    <br>     52&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i = i + 1    <br>     53 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>     54&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;     ]]></body>
<body><![CDATA[<br>     55 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>'Solve  the model without showing the solver's table of results</em>    <br>     56 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SolverSolve UserFinish:=True    <br>     57    <br>     58 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>'Draw Gantt</i>    <br>     59 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Draw_Gantt (n_activities)    <br>     60    <br>     61 End Sub</font></p> 	       <p><font face="Verdana" size="2">With reference to the algorithmic implementation shown  above, lines 5 to 10 reveal if the SOLVER add&#8211;in already has been installed.  Line 13 invokes a function developed to know the number of activities that will  be programmed. Lines 16 to 18 eliminate constraints previously established, and  set the following parameters: precision, maximum number of iterations,  non&#8211;negativity conditions of the variables of the model, and its linear nature.  Lines 24 and 25 fix in the SOLVER the cell that contains objective function H1,  and establish the cells that represent the variables v_s of each activity. Lines 29  and 30 introduce the set of constraints (II) of the model, which makes sure the  activities are not programmed before their release date. Lines 32 to 53 add the  precedence relations corresponding to constraint family (I) of the model. Line  56 configures the no&#8211;return option of the default dialogue box, so that once  the model has been solved the user is not asked to choose out of a series of  reports to be reviewed. Finally, line 59 invokes a procedure that draws the  Gantt chart resulting from solving the associated linear model.</font></p>        <p> <font face="Verdana" size="2"><i>&bull; Net flow option</i></font></p>         <p><font face="Verdana" size="2">The parameters for the net flow alternative are contained  in a spreadsheet, named as <b>Parameters_OA</b> (see <a href="#Figura3">figure 3</a>). It contains the description of the  activities to be programmed, and their relations with other activities. In its  third line, this sheet defines the columns&rsquo; headlines, starting to presenting  their contents in line 4, as follows: column F contains the ID of the  activities; column E identifies the resource in which the activity will be  processed; column B registers the processing time of the activity; columns A, C  and D are used by the algorithms to solve the problem. So, column C shows the topological  order assigned to the activity; column D indicates the finish time of the  activity; and column A identifies the node that precedes a given activity on  the longest path from the initial one. Said information is useful to  reconstruct the critical path of each activity. Columns G and those that follow  define the precedence matrix. In this matrix, a value higher than zero in line <i>i</i> and column <i>j</i> means that the activity  identified in line <i>i</i> is to be followed by the one identified in column <i>j</i>. For example, a value of 4 in  cell L6, corresponding to cell <i>c,f</i> of the mentioned matrix of k*k cell elements, indicates  that activity  <i>f</i>  goes after  activity  <i>c</i>, and that a  minimum of 4 time units after having started the execution of <i>c</i> must have elapsed before  starting  <i>f</i>. In turn,  the inputs in the main diagonal of the matrix correspond to the release times  that might exist for activities. To continue with the example, a value of 5 in cell  P13, corresponding to input j,j of the matrix, indicates that it is not possible  to program this activity until 5 time units have elapsed, regardless of the  existence of any precedence constraints that may allow it.</font></p>      ]]></body>
<body><![CDATA[<p align="center"><img src="img/revistas/rfiua/n61/n61a14i03.gif" ><a name="Figura3"></a></p>      <p><font face="Verdana" size="2">Below is the visual basic code for applications that intend  to find the completion time of the activities according to the second approach  presented in section 2.3.    <br>    <br>    1  &nbsp;&nbsp;&nbsp;Sub Algorithmic_option()    <br>   2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call topological_ordering    <br>   3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call label_correction    <br>   4 &nbsp;&nbsp; End Sub    <br>   5    <br>   6 &nbsp;&nbsp; Sub topological_ordering()    <br>   7 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim line, column, activities, Size_L, i, next As Integer    ]]></body>
<body><![CDATA[<br>   8 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim did_not_find As Boolean    <br>   9 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chosen_node, successor_node    <br>   10    <br>   11 &nbsp;&nbsp;&nbsp;&nbsp; Worksheets(''Parameters_OA'').Select    <br>   12    <br>   13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Initiation of variable indegree</i>    <br>   14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  line = 4    <br>   15 &nbsp;&nbsp;&nbsp;&nbsp; While Cells(line, 6) &lt;&gt; Empty    <br>   16 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 4) = 0    <br>   18 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = line + 1    ]]></body>
<body><![CDATA[<br>   18 &nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   19 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; actividades = line &#8211; 4    <br>   20    <br>   21 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Calculation of the variable indegree of each activity</i>    <br>   22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  line = 4    <br>   23 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(line, 6) &lt;&gt; Empty 'while there is  an activity    <br>   24 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; columna = 7    <br>   25 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(3, column) &lt;&gt; Empty    <br>   26 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(3, column) &lt;&gt; Cells(line, 6) And _    <br>   27 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, column) &gt; 0) Then    ]]></body>
<body><![CDATA[<br>   28 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(column &#8211; 3, 4) = Cells(column &#8211; 3, 4) + 1    <br>   29 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   30 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column = column + 1    <br>   31 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   32 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = line + 1    <br>   33 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   34    <br>   35&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Initiation of list L</i>    <br>   36&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  line = 4: Size_L = 0    <br>   37 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(line, 6) &lt;&gt; Empty    ]]></body>
<body><![CDATA[<br>   38 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(line, 4) = 0) Then    <br>   39 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Add to list L,put a list mark in column B</i>    <br>   40 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 3) = ''*''    <br>   41 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size_L = Size_L + 1    <br>   42 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   43&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  line = line + 1    <br>   44 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   45    <br>   46 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Topological order assignment</i>    <br>   47 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next = 0    ]]></body>
<body><![CDATA[<br>   48 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Size_L &gt; 0    <br>   49 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Choose a node that belongs to L</i>    <br>   50 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chosen_node = ''&#8211;'': line = 4    <br>   51 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While chosen_node = ''&#8211;''    <br>   52 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Cells(line, 3) = ''*'' Then    <br>   53 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chosen_node = Cells(line, 6)    <br>   54 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size_L = Size_L &#8211; 1    <br>   55 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next = next + 1    <br>   56 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 3) = next    <br>   57 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 4) = &quot;&#8211;&quot;    ]]></body>
<body><![CDATA[<br>   58    <br>   59 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Reduce the value of indegree to the successors  of the chosen node</i>    <br>   60 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column = 7    <br>   61 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(3, column) &lt;&gt; Empty    <br>   62&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  If (Cells(3, column) &lt;&gt; chosen_node  And Cells(line, column) &gt; 0) Then    <br>   63 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; successor_node = Cells(3, column)    <br>   64 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Search line of the chosen node's  successor</i>    <br>   65 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i = 4: did not_find = True    <br>   66 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While (did_not_find = True)    <br>   67 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(i, 6) = successor_node) Then    ]]></body>
<body><![CDATA[<br>   68 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(i, 4) = Cells(i, 4) &#8211; 1    <br>   69 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'If the node has no  predecessors, it is added to the list of nodes to be processed</i>    <br>   70 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Cells(i, 4) = 0 Then    <br>   71 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(i, 3) = &quot;*&quot;    <br>   72 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size_L = Size_L + 1    <br>   73 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   74 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; did_not_find = False    <br>   75 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   76 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i = i + 1    <br>   77 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    ]]></body>
<body><![CDATA[<br>   78 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   79 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column = column + 1    <br>   80 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   81 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   82&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  line = line + 1    <br>   83 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   84  Wend    <br>   85 End Sub    <br>   86    <br>   87  <i>'Determines the times elapsed from the initial node to each of the  activities</i>    ]]></body>
<body><![CDATA[<br>   88  Sub Label_correction()    <br>   89 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim line, column, activities, Size_L, i, next As Integer    <br>   90 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim did_not_find As Boolean    <br>   91 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chosen_node, node_successor    <br>   92    <br>   93 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Worksheets(''Parameters_OA'').Select    <br>   94 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'Initiation of labels</i>    <br>   95 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = 4    <br>   96 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While Cells(line, 6) &lt;&gt; Empty    <br>   97 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 4) = 0    ]]></body>
<body><![CDATA[<br>   98 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = line + 1    <br>   99 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   100    <br>   101 &nbsp;&nbsp;&nbsp; <i>'Scan according to assigned topological order</i>    <br>   102 &nbsp;&nbsp;&nbsp; line = 4: did_not_find = True: next = 1    <br>   103 &nbsp;&nbsp;&nbsp; While did_not_find    <br>   104 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(line, 3) = next) Then 'found the node with  topological order &quot;next&quot;    <br>   105 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(line, 4) = 0) Then    <br>   106 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(line, 4) = Cells(line, line + 3) +  Cells(line, 2)  'line+3 is the column where r is located    <br>   107 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    ]]></body>
<body><![CDATA[<br>   108    <br>   109 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i>'scan all activities in search of arcs leading to  successors</i>    <br>   110 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column = 7    <br>   111 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; While (Cells(3, column) &lt;&gt; Empty)    <br>   112&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  If (Cells(line, column) &gt; 0 And Cells(line, 6)  &lt;&gt; Cells(3, column)) Then    <br>   113 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Check that d_j &lt; d_i + p_j    <br>   114 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Cells(column &#8211; 3, 4) &lt; Cells(line, 4) +  Cells(column &#8211; 3, 2)) Then    <br>   115 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(column &#8211; 3, 4) = WorksheetFunction.Max _    <br>   116 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cells(column  &#8211; 3, column), Cells(line, 4)) + Cells(column &#8211; 3, 2)    <br>   117 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(column &#8211; 3, 1) = Cells(line, 6)    ]]></body>
<body><![CDATA[<br>   118&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   119 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    <br>   120 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; column = column + 1    <br>   121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wend    <br>   122     <br>   123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = 4    <br>   124 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next = next + 1    <br>   125 &nbsp;&nbsp;&nbsp;&nbsp; Else    <br>   126 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line = line + 1    <br>   127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If    ]]></body>
<body><![CDATA[<br>   128    <br>   129 &nbsp;&nbsp;&nbsp; If (Cells(line, 6) = Empty) Then    <br>   130 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; did_not_find = False    <br>   131 &nbsp;&nbsp;&nbsp; End If    <br>   132 &nbsp;&nbsp;&nbsp; Wend    <br>   133    <br>   134 &nbsp;&nbsp; End Sub</font></p>       <p><font face="Verdana" size="2">In the lines that follow we present a brief explanation of  this implementation. Lines 1 to 4 address the sequential order in which the  nodes are processed. The nodes are initially assigned a topological order, and  then the label correction algorithm calculates the critical path from the  starting node to each of the activities. Lines 13 to 18 show one initiation  cycle of variable indegree per activity. Lines 19 to 33 calculate the value of  indegree variable for each activity or number of activities that precede it in  the graph. Lines 35 to 44 start the list of activities that have no predecessor  (indegree value equals zero). Lines 46 to 85 assign the corresponding  topological order to the activities in list L. Lines 88 to 134 correspond to  the implementation of the label correction algorithm. Lines 95 to 99 assign a  value of zero to the label of each activity. Lines 111 to 121 update those  activities whose values are lower than the path that leads to them from the  node whose variable indegree equals zero. The label correction process includes  preceding node information updating, so that it is possible to trace the  longest possible path from the initial node to each of the activities of the  net.</font></p>      <p>&nbsp;</p>     <p><font face="Verdana" size="3"><b>Obtained results</b> </font></p>     ]]></body>
<body><![CDATA[<p><font face="Verdana" size="2">This section presents examples of Gantt charts obtained  with the tool here developed. The first represented situation is the activity  scheduling of a house building project whose activities with their  corresponding description are shown in <a href="#Tabla2">table 2</a>, as adapted from the version  presented by &#91;18&#93; in their chapter about net optimization models.</font></p>      <p align="center"><img src="img/revistas/rfiua/n61/n61a14t02.gif" ><a name="Tabla2"></a></p>      <p><font face="Verdana" size="2">The net diagram corresponding to the house building project  presented in <a href="#Tabla2">table 2</a>, is shown in <a href="#Figura4">figure 4</a>.</font></p>      <p align="center"><img src="img/revistas/rfiua/n61/n61a14i04.gif" ><a name="Figura4"></a></p>      <p><font face="Verdana" size="2">Once the computer application has been executed, the Gantt  chart is obtained as presented in <a href="#Figura5">figure 5</a>.</font></p>      <p align="center"><img src="img/revistas/rfiua/n61/n61a14i05.gif" ><a name="Figura5"></a></p>      <p><font face="Verdana" size="2">A second application is conducted in production scheduling.  The associated Gantt chart indicates the starting times of the different tasks  performed in each of the machines of the production workshop. In this sense, <a href="#Tabla3">table 3 </a> presents the information about a production schedule for a flow shop  environment with three machines and 5 tasks, detailing the processing times of  the task sequence: j3, j1, j2, j5, j4.</font></p>      <p align="center"><img src="img/revistas/rfiua/n61/n61a14t03.gif" ><a name="Tabla3"></a></p>      <p><font face="Verdana" size="2">The resulting Gantt chart is presented in <a href="#Figura6">figure 6 </a></font></p>      <p align="center"><img src="img/revistas/rfiua/n61/n61a14i06.gif" ><a name="Figura6"></a></p>         ]]></body>
<body><![CDATA[<p>&nbsp;</p>      <p><font face="Verdana" size="3"><b>Conclusions and recommendations</b> </font></p>      <p><font face="Verdana" size="2">The results obtained with the present work can be  summarized in the achieving of the objectives proposed, as follows:    <br>    <br>      1. It offers micro, small and  medium sized companies a reliable, rigorous and easily applicable decision  making support tool, which is useful for promoting technical solutions in areas  such as production and personnel scheduling and project planning, among others.    <br>    <br>        2. It facilitates non&#8211;expert  users the application of hard decision techniques &#8211; as is the case of  optimization &#8211; and of easy&#8211;to&#8211;learn and acquire technologies like SOLVER of  Microsoft Excel and VBA macros.    <br>    <br>      3. It offers students and  practitioners involved in the scheduling field, the opportunity to focus on the  logic for their solutions methods proposed instead of waste time thinking about  how to draw the results obtained.</font></p>       <p>&nbsp;</p>     ]]></body>
<body><![CDATA[<p><font face="Verdana" size="3"><b>Referencias</b> </font></p>     <!-- ref --><p><font face="Verdana" size="2">1. J. Wilson. ''Gantt Charts: A  Centenary Appreciation''. <i>European Journal of Operational Research</i>. Vol. 149. 2003. pp. 430&#8211;437.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000374&pid=S0120-6230201100050001400001&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>    2. W. Clark. <i>The Gantt Chart</i>. Ed. The Ronald Press Co. New  York (USA). 1925. pp. 84.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000376&pid=S0120-6230201100050001400002&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      3. J. Herrmann. <i>Handbook of  Production Scheduling</i>. International Series In Operation Research &amp;  Management. Science. Ed. Springer US. Maryland. 2006. pp. 5&#8211;7, 15&#8211;16.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000378&pid=S0120-6230201100050001400003&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      4. H. Gantt. ''A graphical  daily balance in manufacture''. <i>ASME Transactions</i>. Vol. 24. 1903. pp. 1322&#8211;1336.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000380&pid=S0120-6230201100050001400004&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      5. F. Taylor. ''Shop Management''. <i>ASME  Transactions</i>. Vol.  24. 1903. pp. 1337&#8211;1480.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000382&pid=S0120-6230201100050001400005&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      6. W. Truscott, D. Cho. ''Scheduling  batch production with character graphics''. <i>Industrial Engineering</i>. Vol. 19. No. 2. 1987. pp.  17&#8211;22.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000384&pid=S0120-6230201100050001400006&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      7. M. Wennink, M.  Salvelsbergh. ''Towards a planning board generator''. <i>Decision Support  Systems</i>.  Vol. 17. No. 3. 1996. pp. 199&#8211;226.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000386&pid=S0120-6230201100050001400007&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      8. PM Network. ''Project  Management Software Survey''. <i>PM Network</i>. Vol. 9. 1995. pp. 35&#8211;48.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000388&pid=S0120-6230201100050001400008&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      9. J. Seyed. ''Right on  Schedule''.  <i>OR/MS Today</i>. December.  1995. pp. 42&#8211;44.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000390&pid=S0120-6230201100050001400009&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      10. B. Yen, M. Pinedo. <i>On design and  development of scheduling systems</i>. Proceedings of the Fourth International Conference on  Computer Integrated Manufacturing and Automation Technology. October. 1994. pp.  197&#8211;204.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000392&pid=S0120-6230201100050001400010&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      11. C. Ortiz. ''Implementation  issues: a recipe for scheduling success''. <i>IIE Solutions</i>. March. 1996. pp. 29&#8211;32.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000394&pid=S0120-6230201100050001400011&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      12. R. Ahuja, T. Magnanti, J.  Orlin.  <i>Network Flows</i>.  Ed. Prentice Hall. New Jersey. 1993. pp. 193&#8211;154, 802&#8211;816.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000396&pid=S0120-6230201100050001400012&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      13. M. Pinedo, X.  Chao.  <i>Operations scheduling with applications in manufacturing and services</i>. Ed. Mc Graw&#8211;Hill.  New York. 1999. pp. 2.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000398&pid=S0120-6230201100050001400013&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      14. ANSI. <i>A Guide to the Project  Management Body of Knowledge (PMBOK&reg; Guide) &#8211; 2000</i>. Ed. Project  Management Institute. Pennsylvania. 2000. pp. 4&#8211;7.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000400&pid=S0120-6230201100050001400014&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      15. E. Balas. ''Disjunctive  Programming, Discrete Optimization II''. P.L. Hammer, E.L. Johnson, B.H. Korte.  (editors).  <i>Annals of Discrete Mathematics</i>. Ed. Elsevier. New York (USA). Vol. 5. 1979. pp. 3&#8211;51.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000402&pid=S0120-6230201100050001400015&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      16. M. Pinedo. Scheduling:  <i>Theory, Algorithms, and Systems</i>. Ed. Prentice&#8211;Hall. Englewood Cliffs, NJ. 1995. pp. 196,  197, 269&#8211;276.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000404&pid=S0120-6230201100050001400016&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      17. J. Blazewicz, D. Kobler. ''Review  of properties of different precedence graphs for scheduling problems''. <i>European Journal  of Operational Research</i>. Vol. 142. 2002. pp. 435&#8211;443.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000406&pid=S0120-6230201100050001400017&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>    <!-- ref --><br>      18. F. Hillier, G. Lieberman. <i>Introducci&oacute;n a la  investigaci&oacute;n de operaciones</i>. Ed. McGraw&#8211;Hill Book Company, Inc. M&eacute;xico. 1997. pp.  389&#8211;395.</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=000408&pid=S0120-6230201100050001400018&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --><br>         ]]></body><back>
<ref-list>
<ref id="B1">
<label>1</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Wilson]]></surname>
<given-names><![CDATA[J]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Gantt Charts: A Centenary Appreciation'']]></article-title>
<source><![CDATA[European Journal of Operational Research]]></source>
<year>2003</year>
<volume>149</volume>
<page-range>430-437</page-range></nlm-citation>
</ref>
<ref id="B2">
<label>2</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Clark]]></surname>
<given-names><![CDATA[W]]></given-names>
</name>
</person-group>
<source><![CDATA[The Gantt Chart]]></source>
<year>1925</year>
<publisher-loc><![CDATA[New York ]]></publisher-loc>
<publisher-name><![CDATA[Ed. The Ronald Press Co.]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B3">
<label>3</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Herrmann]]></surname>
<given-names><![CDATA[J]]></given-names>
</name>
</person-group>
<source><![CDATA[Handbook of Production Scheduling]]></source>
<year>2006</year>
<page-range>5-7, 15-16</page-range><publisher-loc><![CDATA[Maryland ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Springer US]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B4">
<label>4</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Gantt]]></surname>
<given-names><![CDATA[H]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''A graphical daily balance in manufacture'']]></article-title>
<source><![CDATA[ASME Transactions]]></source>
<year>1903</year>
<volume>24</volume>
<page-range>1322-1336</page-range></nlm-citation>
</ref>
<ref id="B5">
<label>5</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Taylor]]></surname>
<given-names><![CDATA[F]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Shop Management'']]></article-title>
<source><![CDATA[ASME Transactions]]></source>
<year>1903</year>
<volume>24</volume>
<page-range>1337-1480</page-range></nlm-citation>
</ref>
<ref id="B6">
<label>6</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Truscott]]></surname>
<given-names><![CDATA[W]]></given-names>
</name>
<name>
<surname><![CDATA[Cho]]></surname>
<given-names><![CDATA[D]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Scheduling batch production with character graphics'']]></article-title>
<source><![CDATA[Industrial Engineering]]></source>
<year>1987</year>
<volume>19</volume>
<numero>2</numero>
<issue>2</issue>
<page-range>17-22</page-range></nlm-citation>
</ref>
<ref id="B7">
<label>7</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Wennink]]></surname>
<given-names><![CDATA[M]]></given-names>
</name>
<name>
<surname><![CDATA[Salvelsbergh]]></surname>
<given-names><![CDATA[M]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Towards a planning board generator'']]></article-title>
<source><![CDATA[Decision Support Systems]]></source>
<year>1996</year>
<volume>17</volume>
<numero>3</numero>
<issue>3</issue>
<page-range>199-226</page-range></nlm-citation>
</ref>
<ref id="B8">
<label>8</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Network]]></surname>
<given-names><![CDATA[PM]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Project Management Software Survey'']]></article-title>
<source><![CDATA[PM Network]]></source>
<year>1995</year>
<volume>9</volume>
<page-range>35-48</page-range></nlm-citation>
</ref>
<ref id="B9">
<label>9</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Seyed]]></surname>
<given-names><![CDATA[J]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Right on Schedule'']]></article-title>
<source><![CDATA[OR/MS Today]]></source>
<year>Dece</year>
<month>mb</month>
<day>er</day>
</nlm-citation>
</ref>
<ref id="B10">
<label>10</label><nlm-citation citation-type="confpro">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Yen]]></surname>
<given-names><![CDATA[B]]></given-names>
</name>
<name>
<surname><![CDATA[Pinedo]]></surname>
<given-names><![CDATA[M]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[On design and development of scheduling systems]]></article-title>
<source><![CDATA[]]></source>
<year></year>
<conf-name><![CDATA[ Proceedings of the Fourth International Conference on Computer Integrated Manufacturing and Automation Technology]]></conf-name>
<conf-date>October. 1994</conf-date>
<conf-loc> </conf-loc>
<page-range>197-204</page-range></nlm-citation>
</ref>
<ref id="B11">
<label>11</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Ortiz]]></surname>
<given-names><![CDATA[C]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Implementation issues: a recipe for scheduling success'']]></article-title>
<source><![CDATA[IIE Solutions]]></source>
<year>Marc</year>
<month>h.</month>
<day> 1</day>
<page-range>29-32</page-range></nlm-citation>
</ref>
<ref id="B12">
<label>12</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Ahuja]]></surname>
<given-names><![CDATA[R]]></given-names>
</name>
<name>
<surname><![CDATA[Magnanti]]></surname>
<given-names><![CDATA[T]]></given-names>
</name>
<name>
<surname><![CDATA[Orlin]]></surname>
<given-names><![CDATA[J]]></given-names>
</name>
</person-group>
<source><![CDATA[Network Flows]]></source>
<year>1993</year>
<page-range>193-154, 802-816</page-range><publisher-loc><![CDATA[New Jersey ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Prentice Hall]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B13">
<label>13</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Pinedo]]></surname>
<given-names><![CDATA[M]]></given-names>
</name>
<name>
<surname><![CDATA[Chao]]></surname>
<given-names><![CDATA[X]]></given-names>
</name>
</person-group>
<source><![CDATA[Operations scheduling with applications in manufacturing and services]]></source>
<year>1999</year>
<page-range>2</page-range><publisher-loc><![CDATA[New York ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Mc Graw-Hill]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B14">
<label>14</label><nlm-citation citation-type="book">
<collab>ANSI</collab>
<source><![CDATA[A Guide to the Project Management Body of Knowledge (PMBOK® Guide) - 2000]]></source>
<year>2000</year>
<page-range>4-7</page-range><publisher-loc><![CDATA[Pennsylvania ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Project Management Institute]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B15">
<label>15</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Balas]]></surname>
<given-names><![CDATA[E]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Disjunctive Programming, Discrete Optimization II'']]></article-title>
<person-group person-group-type="editor">
<name>
<surname><![CDATA[Hammer]]></surname>
<given-names><![CDATA[P.L]]></given-names>
</name>
<name>
<surname><![CDATA[Johnson]]></surname>
<given-names><![CDATA[E.L]]></given-names>
</name>
<name>
<surname><![CDATA[Korte]]></surname>
<given-names><![CDATA[B.H]]></given-names>
</name>
</person-group>
<source><![CDATA[Annals of Discrete Mathematics]]></source>
<year>1979</year>
<volume>5</volume>
<page-range>3-51</page-range><publisher-loc><![CDATA[New York ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Elsevier]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B16">
<label>16</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Pinedo]]></surname>
<given-names><![CDATA[M]]></given-names>
</name>
</person-group>
<source><![CDATA[Scheduling: Theory, Algorithms, and Systems]]></source>
<year>1995</year>
<page-range>196, 197, 269-276</page-range><publisher-loc><![CDATA[Englewood Cliffs ]]></publisher-loc>
<publisher-name><![CDATA[Ed. Prentice-Hall]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B17">
<label>17</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Blazewic]]></surname>
<given-names><![CDATA[J]]></given-names>
</name>
<name>
<surname><![CDATA[Kobler]]></surname>
<given-names><![CDATA[D]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[''Review of properties of different precedence graphs for scheduling problems'']]></article-title>
<source><![CDATA[European Journal of Operational Research]]></source>
<year>2002</year>
<volume>142</volume>
<page-range>435-443</page-range></nlm-citation>
</ref>
<ref id="B18">
<label>18</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Hillier]]></surname>
<given-names><![CDATA[F]]></given-names>
</name>
<name>
<surname><![CDATA[Lieberman]]></surname>
<given-names><![CDATA[G]]></given-names>
</name>
</person-group>
<source><![CDATA[Introducción a la investigación de operaciones]]></source>
<year>1997</year>
<page-range>389-395</page-range><publisher-name><![CDATA[Ed. McGraw-Hill Book Company, Inc.]]></publisher-name>
</nlm-citation>
</ref>
</ref-list>
</back>
</article>
