Estos apuntes son libres y los puedes editar.

Algunas secciones están en inglés puedes colaborar traduciendo algunos párrafos.

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
Próxima revisión
Revisión previa
gnu_mathprog [2008/10/05 19:06]
mmarquez
gnu_mathprog [2010/01/14 11:59] (actual)
mmarquez
Línea 1: Línea 1:
 ====== GNU MathProg ====== ====== GNU MathProg ======
-Nota: Esta página es la traducción (en curso) al español de [[http://lpsolve.sourceforge.net/5.5/MathProg.htm]]+Nota: Esta página es la traducción al español de [[http://lpsolve.sourceforge.net/5.5/MathProg.htm]]
 ---- ----
 +
 ===== Introducción ===== ===== Introducción =====
  
Línea 73: Línea 74:
 ===== API ===== ===== API =====
  
 +Use la llamada a [[http://lpsolve.sourceforge.net/5.5/read_XLI.htm|read_XLI]] para leer un modelo y [[http://lpsolve.sourceforge.net/5.5/write_XLI.htm|write_XLI]] para escribirlo. Véase también [[http://lpsolve.sourceforge.net/5.5/XLI.htm|External Language Interfaces]].
  
-Use the lpsolve API call read_XLI to read a model and write_XLI to write a model. See also External Language Interfaces. 
-IDE 
  
-Also from within the IDE, this XLI can be usedHoweversome entries must be added in LpSolveIDE.ini (in the folder where the IDE is installed).+El XLI puede ser usado desde el IDE. No obstantealgunas líneas deben ser añadidas en LpSolveIDE.ini (en la carpeta de instalación del IDE).
  
-In the [XLI] section the following must be added:+En la sección [XLI] debe añadirse lo siguiente:
  
-lib1=xli_MathProg+   lib1=xli_MathProg
  
-And a new section for the MathProg XLI must also be added:+Además, debe añadirse una nueva sección para MathProg XLI:
  
-[xli_MathProg] +   [xli_MathProg] 
-extension=.mod +   extension=.mod 
-language=MATHPROG+   language=MATHPROG
  
-Then make sure that the xli_MathProg.dll is available for the IDE. This must be done by placing this dll in the IDE folder or in the Windows system32 folder.+Asegúrese de que xli_MathProg.dll está disponible para el IDE. Para ello ponga este dll en la carpeta del IDE o en la carpeta system32 de Windows. 
 + 
 +===== Ejemplos =====
  
-===== Example models/data ===== 
 ==== Diet1.mod ==== ==== Diet1.mod ====
  
Línea 182: Línea 183:
     SPG    1.99    0     100     SPG    1.99    0     100
     TUR    2.49    0     100 ;     TUR    2.49    0     100 ;
 +    
    param:   n_min  n_max :=    param:   n_min  n_max :=
     A      700   10000     A      700   10000

QR Code
QR Code gnu_mathprog (generated for current page)