Originally posted by: UMQX_Olfat_ELMahi
Thanks for replay it gives me the following errors :
-
Generating MyOpl.o
/usr/bin/g++ -fPIC -DIL_STD -I/poly/tools/ILOG-IBM/CP/1.5/solver67/include -I/po ly/tools/ILOG-IBM/CP/1.5/concert29/include -O4 -I. -c MyOpl.cpp -o ./MyOpl.o
MyOpl.cpp:18:26: error: ilopl/iloopl.h: No such file or directory
In file included from MyOpl.cpp:22:
ReadData1.h:6: error: expected class-name before â{â token
ReadData1.h:8: error: expected â)â before â&â token
In file included from MyOpl.cpp:23:
ReadData2.h:6: error: expected class-name before â{â token
ReadData2.h:25: error: expected â)â before â&â token
MyOpl.cpp: In function âint main(int, char**)â:
MyOpl.cpp:45: error: âofstreamâ was not declared in this scope
MyOpl.cpp:45: error: expected â;â before âResultsâ
MyOpl.cpp:46: error: expected â;â before âResults2â
MyOpl.cpp:47: error: âResultsâ was not declared in this scope
MyOpl.cpp:48: error: âResults2â was not declared in this scope
MyOpl.cpp:50: error: âIloEnvâ was not declared in this scope
MyOpl.cpp:50: error: expected â;â before âenvâ
MyOpl.cpp:55: error: âIloOplErrorHandlerâ was not declared in this scope
MyOpl.cpp:55: error: expected â;â before âhandlerâ
MyOpl.cpp:57: error: âIloOplModelSourceâ was not declared in this scope
MyOpl.cpp:57: error: expected â;â before âmodelSourceâ
MyOpl.cpp:58: error: âIloOplSettingsâ was not declared in this scope
MyOpl.cpp:58: error: expected â;â before âsettingsâ
MyOpl.cpp:59: error: âIloOplModelDefinitionâ was not declared in this scope
MyOpl.cpp:59: error: expected â;â before âdefâ
MyOpl.cpp:60: error: âIloCPâ was not declared in this scope
MyOpl.cpp:60: error: expected â;â before âcpâ
MyOpl.cpp:61: error: âIloOplModelâ was not declared in this scope
MyOpl.cpp:61: error: expected â;â before âoplâ
MyOpl.cpp:62: error: âenvâ was not declared in this scope
MyOpl.cpp:63: error: âIloOplDataSourceâ was not declared in this scope
MyOpl.cpp:63: error: expected â;â before âdataSourceâ
MyOpl.cpp:64: error: âoplâ was not declared in this scope
MyOpl.cpp:64: error: âdataSourceâ was not declared in this scope
MyOpl.cpp:66: error: âcpâ was not declared in this scope
MyOpl.cpp:69: error: âIloIntMapâ was not declared in this scope
MyOpl.cpp:69: error: expected â;â before âxâ
MyOpl.cpp:70: error: âIloIntRangeâ was not declared in this scope
MyOpl.cpp:70: error: expected â;â before âs1â
MyOpl.cpp:71: error: âIloIntRangeIteratorâ was not declared in this scope
MyOpl.cpp:71: error: expected â;â before âit1â
MyOpl.cpp:71: error: âit1â was not declared in this scope
MyOpl.cpp:72: error: âxâ was not declared in this scope
MyOpl.cpp:75: error: âIloIntervalVarMapâ was not declared in this scope
MyOpl.cpp:75: error: expected â;â before âx1â
MyOpl.cpp:76: error: expected â;â before âs11â
MyOpl.cpp:77: error: expected â;â before âit1â
MyOpl.cpp:77: error: âit1â was not declared in this scope
MyOpl.cpp:78: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:78: error: expected â;â before âoneTripâ
MyOpl.cpp:79: error: âoneTripâ was not declared in this scope
MyOpl.cpp:85: error: expected â;â before âx2â
MyOpl.cpp:86: error: expected â;â before âs12â
MyOpl.cpp:87: error: expected â;â before âit1â
MyOpl.cpp:87: error: âit1â was not declared in this scope
MyOpl.cpp:88: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:88: error: expected â;â before âoneTripâ
MyOpl.cpp:89: error: âoneTripâ was not declared in this scope
MyOpl.cpp:95: error: expected â;â before âx3â
MyOpl.cpp:96: error: expected â;â before âx5â
MyOpl.cpp:97: error: expected â;â before âx6â
MyOpl.cpp:98: error: expected â;â before âx7â
MyOpl.cpp:99: error: expected â;â before âs13â
MyOpl.cpp:100: error: expected â;â before âit1â
MyOpl.cpp:100: error: âit1â was not declared in this scope
MyOpl.cpp:101: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:101: error: expected â;â before âoneTripâ
MyOpl.cpp:102: error: âoneTripâ was not declared in this scope
MyOpl.cpp:107: error: âx5â was not declared in this scope
MyOpl.cpp:113: error: âx6â was not declared in this scope
MyOpl.cpp:119: error: âx7â was not declared in this scope
MyOpl.cpp:126: error: expected â;â before âx4â
MyOpl.cpp:127: error: expected â;â before âs15â
MyOpl.cpp:128: error: expected â;â before âit1â
MyOpl.cpp:128: error: âit1â was not declared in this scope
MyOpl.cpp:129: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:129: error: expected â;â before âoneTripâ
MyOpl.cpp:130: error: âoneTripâ was not declared in this scope
MyOpl.cpp:136: error: expected â;â before âx8â
MyOpl.cpp:137: error: expected â;â before âx10â
MyOpl.cpp:138: error: expected â;â before âs14â
MyOpl.cpp:139: error: expected â;â before âit1â
MyOpl.cpp:139: error: âit1â was not declared in this scope
MyOpl.cpp:140: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:140: error: expected â;â before âoneTripâ
MyOpl.cpp:141: error: âoneTripâ was not declared in this scope
MyOpl.cpp:146: error: âx10â was not declared in this scope
MyOpl.cpp:153: error: expected â;â before âx9â
MyOpl.cpp:154: error: expected â;â before âs16â
MyOpl.cpp:155: error: expected â;â before âit1â
MyOpl.cpp:155: error: âit1â was not declared in this scope
MyOpl.cpp:156: error: âIloIntervalVarâ was not declared in this scope
MyOpl.cpp:156: error: expected â;â before âoneTripâ
MyOpl.cpp:157: error: âoneTripâ was not declared in this scope
MyOpl.cpp:163: error: âcoutâ was not declared in this scope
MyOpl.cpp:163: error: âendlâ was not declared in this scope
MyOpl.cpp:181: error: expected â;â before âenv2â
MyOpl.cpp:186: error: expected â;â before âhandler2â
MyOpl.cpp:188: error: expected â;â before âmodelSource2â
MyOpl.cpp:189: error: expected â;â before âsettings2â
MyOpl.cpp:190: error: expected â;â before âdef2â
MyOpl.cpp:191: error: expected â;â before âcp2â
MyOpl.cpp:192: error: expected â;â before âopl2â
MyOpl.cpp:193: error: âenv2â was not declared in this scope
MyOpl.cpp:195: error: expected â;â before âdataSource2â
MyOpl.cpp:196: error: âopl2â was not declared in this scope
MyOpl.cpp:196: error: âdataSource2â was not declared in this scope
MyOpl.cpp:198: error: âcp2â was not declared in this scope
MyOpl.cpp:210: error: expected type-specifier before âIloOplExceptionâ
MyOpl.cpp:210: error: expected â)â before â&â token
MyOpl.cpp:210: error: expected â{â before â&â token
MyOpl.cpp:210: error: âeâ was not declared in this scope
MyOpl.cpp:210: error: expected â;â before â)â token
MyOpl.cpp:212: error: expected primary-expression before âcatchâ
MyOpl.cpp:212: error: expected â;â before âcatchâ
MyOpl.cpp:216: error: expected primary-expression before âcatchâ
MyOpl.cpp:216: error: expected â;â before âcatchâ
MyOpl.cpp:220: error: âenv2â was not declared in this scope
MyOpl.cpp:227: error: expected type-specifier before âIloOplExceptionâ
MyOpl.cpp:227: error: expected â)â before â&â token
MyOpl.cpp:227: error: expected â{â before â&â token
MyOpl.cpp:227: error: âeâ was not declared in this scope
MyOpl.cpp:227: error: expected â;â before â)â token
MyOpl.cpp:229: error: expected primary-expression before âcatchâ
MyOpl.cpp:229: error: expected â;â before âcatchâ
MyOpl.cpp:233: error: expected primary-expression before âcatchâ
MyOpl.cpp:233: error: expected â;â before âcatchâ
MyOpl.cpp:239: error: âenvâ was not declared in this scope
MyOpl.cpp:240: error: âcoutâ was not declared in this scope
MyOpl.cpp:240: error: âendlâ was not declared in this scope
make: ***
http://MyOpl.o Error 1
and could you tell me where i can find the examples in which directory
thanks
#DecisionOptimization#OPLusingCPOptimizer