{"version":3,"sources":["webpack:///./components/latex.css","webpack:///./routes/ottimizzazioneLineare.js","webpack:///./components/panel.css","webpack:///./components/example.css","webpack:///./components/todo.js","webpack:///./components/panel.js","webpack:///./components/example.js","webpack:///./components/latex.js","webpack:///./components/split.js","webpack:///./components/todo.css","webpack:///./components/split.css"],"names":["module","exports","r","String","raw","OttimizzazioneLineare","render","title","href","start","class","Component","Todo","style","todo","this","props","children","Panel","getStyle","panel","undefined","id","Example","example","Latex","src","alt","latex","Split","Array","isArray","map","element","splitchild","split","splitparent"],"mappings":"4EACAA,EAAOC,QAAU,CAAC,MAAQ,iB,iqDCMpBC,G,UAAIC,OAAOC,KAEIC,E,gLACjBC,OAAA,WACI,OACI,aACI,6CACA,EAAC,IAAD,CAAOC,MAAO,aACV,EAAC,IAAD,CAAOA,MAAO,2BACV,WACI,2BAAgB,OAAGC,KAAM,4EAAT,+CAEpB,WACI,OAAGA,KAAM,4EAAT,wBAGR,EAAC,IAAD,CAAOD,MAAO,0BACV,QAAIE,MAAO,KACP,YAAI,OAAGD,KAAM,4FAAT,0BACJ,YAAI,OAAGA,KAAM,4FAAT,0CAGZ,EAAC,IAAD,CAAOD,MAAO,UACV,QAAIE,MAAO,KACP,YAAI,OAAGD,KAAM,gCAAT,0BACJ,YAAI,OAAGA,KAAM,gCAAT,2CAIhB,EAAC,IAAD,CAAOD,MAAO,WACV,EAAC,IAAD,CAAOA,MAAO,sBACV,+EAGA,WACI,EAAC,IAAD,KAAQL,EAAR,QAGR,EAAC,IAAD,CAAOK,MAAO,aACV,oGAGA,WACI,EAAC,IAAD,KAAQL,EAAR,OAEJ,WACI,EAAC,IAAD,KAAQA,EAAR,MADJ,6CAGA,EAAC,IAAD,WACO,EAAC,IAAD,KAAQA,EAAR,MADP,YAEI,YACI,YAAI,EAAC,IAAD,KAAQA,EAAR,OACJ,YAAI,EAAC,IAAD,KAAQA,EAAR,OACJ,YAAI,EAAC,IAAD,KAAQA,EAAR,SAGZ,EAAC,IAAD,mCA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AnBbN,a,yCCFnCX,EAAOC,QAAU,CAAC,KAAO,gB,iBCAzBD,EAAOC,QAAU,CAAC,MAAQ,eAAe,YAAc,qBAAqB,WAAa","file":"route-ottimizzazioneLineare.chunk.b2948.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"latex\":\"latex__3Esv7\"};","import {Component} from 'preact'\nimport Split from \"../components/split\";\nimport Latex from \"../components/latex\";\nimport Panel from \"../components/panel\";\nimport Example from \"../components/example\";\nimport Todo from \"../components/todo\";\n\nconst r = String.raw;\n\nexport default class OttimizzazioneLineare extends Component {\n render() {\n return (\n
\n

Ottimizzazione lineare intera

\n \n \n

\n Consigliata: Playlist con rumori di sottofondo rimossi\n

\n

\n Playlist originale\n

\n
\n \n
    \n
  1. Introduzione al corso
  2. \n
  3. Introduzione alla ricerca operativa
  4. \n
\n
\n \n
    \n
  1. Introduzione al corso
  2. \n
  3. Introduzione alla ricerca operativa
  4. \n
\n
\n
\n \n \n

\n La funzione obiettivo è la funzione con valore noto sconosciuto:\n

\n

\n {r`z = C_1 \\cdot x_1 + C_2 \\cdot x_2 + C_n \\cdot x_n`}\n

\n
\n \n

\n Funzione della funzione obiettivo che indica la direzione del suo aumento più veloce.\n

\n

\n {r`\\nabla f = \\frac{\\delta f}{\\delta x_1} e_1 + \\frac{\\delta f}{\\delta x_2} e_2 + \\frac{\\delta f}{\\delta x_n} e_n`}\n

\n

\n {r`e_i`} è la direzione della coordinata i-esima.\n

\n \n Se {r`n = 3`}, allora:\n
    \n
  • {r`e_1 = (1, 0, 0)`}
  • \n
  • {r`e_2 = (0, 1, 0)`}
  • \n
  • {r`e_3 = (0, 0, 1)`}
  • \n
\n
\n \n Se la funzione obiettivo è z = 2w + 3x + 4y, il suo gradiente è {r`\\nabla z = (2, 3, 4)`}.\n \n
\n
\n \n \n

\n Un sistema è in forma standard quando ha:\n

\n
    \n
  • Solo equazioni
  • \n
  • Tutte le variabili maggiori di zero
  • \n
\n
\n \n

\n Possiamo trasformare una disequazione in equazione introducendo variabili slack:\n

\n

\n {r`3x + 2y \\leq 15 \\implies 3x + 2y + s_1 = 15`}\n

\n

\n In seguito, possiamo riscrivere tutte le funzioni in termini delle variabili slack.\n

\n \n Si ottiene qualcosa come {r`z = -2 s_1 - 3 s_2 + 40`}.\n \n
\n \n

\n Un modo per rappresentare sistemi in forma standard.\n

\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n xys_1s_2
obj:807000
\n 3210
\n 2301
\n

\n \n E' la matrice equivalente completa del sistema!\n \n

\n Riscrivendo in termini delle variabili slack, otteniamo:\n

\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n xys_1s_2
obj:00-20-10
\n 10{r`\\frac{3}{5}`}{r`-\\frac{2}{5}`}
\n 01{r`-\\frac{2}{5}`}{r`\\frac{3}{5}`}
\n

\n \n Abbiamo appena applicato Gauss-Jordan, trovando la matrice inversa.\n \n
\n
\n
\n )\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panel\":\"panel__1ubJw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"example\":\"example__P0_NL\"};","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\tgetStyle() {\n\t\treturn style.panel;\n\t};\n\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = (

{this.props.title}

);\n\t\t}\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t
\n\t\t);\n\t}\n}\n","import style from \"./example.css\";\nimport {Component} from \"preact\";\n\nexport default class Example extends Component {\n render() {\n return (\n
\n {this.props.children}\n
\n )\n }\n}\n","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t{this.props.children}\n\t\t\t);\n\t}\n}","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = (

{this.props.title}

)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return (
{element}
);\n });\n }\n else {\n children =
{this.props.children}
;\n }\n\t\treturn (\n\t
\n {title}\n
{children}
\n
\n );\n\t}\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"todo\":\"todo__1pOoN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"split\":\"split__3qCWp\",\"splitparent\":\"splitparent__2xagg\",\"splitchild\":\"splitchild__3cEoc\"};"],"sourceRoot":""}