Seminario su Swarm 2001-2002 Pietro Terna [email protected] web.econ.unito.it/terna 6.3.2002 Seminario Swarm 2001 2002 1 Secondo semestre mercoledì 6.3 mercoledì 27.3 mercoledì 10.4 mercoledì 24.4 martedì 7.5 sempre dalle 17.15 alle 19; aula 13, tranne martedì 7.5, aula 12 6.3.2002 Seminario Swarm 2001 2002 2 “nostro” sito a http://eco83.econ.unito.it/swarm/ iscriversi alla mailing list seminarioswarm (vedi sopra per le istruzioni) inoltre è utile http://eco83.econ.unito.it/swarm/materiale/ questo file ppt e i successivi sono/saranno in linea a http://web.econ.unito.it/terna/swarm/ e a http://eco83.econ.unito.it/swarm/materiale/pptDelSeminario01-02/ questo è seminarioSwarm01-02-20020306.ppt 6.3.2002 Seminario Swarm 2001 2002 3 Questioni tecniche 1. uso di Xemacs da Dev n.91 oppure http://www.xemacs.org/ 2. uso di rxvt, mio esempio cyg.bat set path=c:\cygwin\bin;%path% rxvt -fn "Courier New-16" -tn linux -e bash --login %1 6.3.2002 Seminario Swarm 2001 2002 4 3. Swarm 2.2 pretest 5 / risolve i problemi per XP 4. libro su Java e AI da http://www.markwatson.com/ (cercare sub Open Content Projects) usa Netbeans http://www.netbeans.org Together http://www.togethersoft.com per UML (abbiamo licenza free) 5. per UML, provare da http://gentleware.com Poseidon (Community edition) 6.3.2002 Seminario Swarm 2001 2002 5 jVE – Java Virtual Enterprise flussi di beni, di informazioni indipendenti dalle unità produttive; la conoscenza e l’azienda prospettiva astratta: l’impresa à la Kirzner 6.3.2002 Seminario Swarm 2001 2002 6 Dal mio sito: P. Terna (2002b), Simulazione ad agenti in contesti di impresa. Sistemi intelligenti, 1, XIV, pp.??-??, in pubblicazione. Il riferimento a Kirzner è per: I. Kirzner (1997), Entrepreneurial discovery and the competitive market process: an Austrian approach. Journal of Economic Literature, vol.XXXV, n.1, pp. 60-85. 6.3.2002 Seminario Swarm 2001 2002 7 mercato ricette Un sistema di imprese e di micro unità produttive (uno sciame = swarm) front end dell’impresa 1-2 2-13 28-7-27-7 ... unità FE 7 la nostra jVE (un sub-swarm di unità) FE 28 27 6.3.2002 Seminario Swarm 2001 2002 8 28-7-27-7 a, un ordine generato con una ricetta casuale seguono i passi b, c, …; a unità in x abbiamo una scelta FE b c 28 7 ? ? x FE 7 27 Gli ordini arrivano alle code di attesa delle unità e sono eseguiti in modalità FIFO 6.3.2002 Seminario Swarm 2001 2002 9 Magazzini e scorte 28-7-27-7 unità ? FE 7 FE 28 7 27 ? ? ? ? … come decidere? 6.3.2002 Seminario Swarm 2001 2002 10 Gestione della conoscenza e diffusione delle informazioni 28-7-27-7 una micro–unità unità Informazioni FE utili per … tecnicamente: oggetti ? 28 7 ? FE ? ??? una macro–unità 7 27 ? Invio o no di informazini: un problema di cooperazione, routines, accordi, … (il centro del problema organizzativo) 6.3.2002 Seminario Swarm 2001 2002 11 Catene di fornitura 28-7-27-7 unità FE 121 34 ... 7 28 73 Esplosione delle ricette per trattare analiticamente le sub–forniture 28-121-34-…-73-7-27-7 6.3.2002 Seminario Swarm 2001 2002 12 una digressione per capire (e perché è interessante in sé): jVE in Starlogo (dr.Michele Sonnessa <[email protected]>) http://el.www.media.mit.edu/groups/el/Projects/starlogo/ 6.3.2002 Seminario Swarm 2001 2002 13 Improved Java Virtual Enterprise (jVE) in Swarm Our simulated enterprise has both orders to accomplish - described by “recipes” that contain what to do - and units that perform the different steps of production. Units can be within the firm or outside, constituting other complex enterprises or standing alone as small business actors. The core of the model is now the clear separation between WD and DW, i.e. between the order recipes (WD: What to Do) and the operating units (DW: which is Doing What). WD and DW are completely independent, in formalism and in code. So, running the model, we can check the consistency of the two sides, as in the actual world, where the output of an enterprise arises from a complex interaction among products and production tools. Recipes now deal with internal parallel production paths and include assembly steps, where the typical just in time problem of a supply chain can be tested. With the model we present five agent based simulations applied to enterprises. Finally, the theoretical goal of the research is illustrated: the reproduction of the trial and error process that generates new enterprises. 6.3.2002 Seminario Swarm 2001 2002 14 Scaricare jVE da http://web.econ.unito.it/terna/jve/ usando jVEfileProvvisoriPerSeminario.zip Iniziamo a studiare il modello da VEFrameModelSwarm.java UnitParameters.java Unit.java 6.3.2002 Seminario Swarm 2001 2002 15