/home/coin/SVN-release/OS-1.0.0/OS/src/OSSolverInterfaces/LindoSolver.cpp File Reference

#include "LindoSolver.h"
#include "OSiLReader.h"
#include "OSInstance.h"
#include "FileUtil.h"
#include "ErrorClass.h"
#include <iostream>
#include <sstream>
#include <vector>
#include <map>

Include dependency graph for LindoSolver.cpp:

Go to the source code of this file.

Defines

#define DEBUG
#define LINDO_OP_CODE_CONVERSION

Functions

int CALLTYPE LSwriteMPIFile (pLSmodel pModel, char *pszFname)


Detailed Description

Author:
Robert Fourer, Jun Ma, Kipp Martin,
Version:
1.0, 10/05/2005
Since:
OS1.0
Remarks:
Copyright (C) 2005, Robert Fourer, Jun Ma, Kipp Martin,Huanyuan Sheng Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Common Public License. Please see the accompanying LICENSE file in root directory for terms.

Definition in file LindoSolver.cpp.


Define Documentation

#define DEBUG

Definition at line 43 of file LindoSolver.cpp.

Referenced by OSInstance::getAllNonlinearVariablesIndexMap(), and OSInstance::getSecondOrderResults().

#define LINDO_OP_CODE_CONVERSION

Value:

std::map<int, int> nlNodeIdxLindo;\
        nlNodeIdxLindo[OS_PLUS] = EP_PLUS; \
        nlNodeIdxLindo[OS_SUM] = EP_SUM; \
        nlNodeIdxLindo[OS_MINUS] = EP_MINUS; \
        nlNodeIdxLindo[OS_NEGATE] = EP_NEGATE; \
        nlNodeIdxLindo[OS_TIMES] = EP_MULTIPLY; \
        nlNodeIdxLindo[OS_DIVIDE] = EP_DIVIDE; \
        nlNodeIdxLindo[OS_POWER] = EP_POWER; \
        nlNodeIdxLindo[OS_SQRT] = EP_SQRT; \
        nlNodeIdxLindo[OS_LN] = EP_LN; \
        nlNodeIdxLindo[OS_EXP] = EP_EXP; \
        nlNodeIdxLindo[OS_NUMBER] = EP_PUSH_NUM; \
        nlNodeIdxLindo[OS_VARIABLE] = EP_PUSH_VAR;\
        nlNodeIdxLindo[OS_IF] = EP_IF; \
        nlNodeIdxLindo[OS_ABS] = EP_ABS; \
        nlNodeIdxLindo[OS_MAX] = EP_MAX; \
        nlNodeIdxLindo[OS_MIN] = EP_MIN; \
        nlNodeIdxLindo[OS_SQUARE] = EP_SQR; \
        nlNodeIdxLindo[OS_SIN] = EP_SIN; \
        nlNodeIdxLindo[OS_COS] = EP_COS;

Definition at line 59 of file LindoSolver.cpp.

Referenced by LindoSolver::processNonlinearExpressions().


Function Documentation

int CALLTYPE LSwriteMPIFile ( pLSmodel  pModel,
char *  pszFname 
)

Referenced by LindoSolver::optimize().


Generated on Thu May 15 22:15:28 2008 by  doxygen 1.4.7