- Timestamp:
- Jul 27, 2007 6:15:07 PM (14 years ago)
- Location:
- trunk/Cbc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cbc/MSVisualStudio/v8/cbcCSosDllSample/cbcCSosDllSample.vcproj
r703 r713 42 42 Optimization="0" 43 43 AdditionalIncludeDirectories="..\..\..\..\Osi\src\OsiCbc;..\..\..\..\Osi\src;..\..\..\..\Cgl\src\CglTwomir;..\..\..\..\Cgl\src\CglMixedIntegerRounding;..\..\..\..\Cgl\src\CglMixedIntegerRounding2;..\..\..\..\Cgl\src\CglFlowCover;..\..\..\..\Cgl\src\CglClique;..\..\..\..\Cgl\src\CglOddHole;..\..\..\..\Cgl\src\CglKnapsackCover;..\..\..\..\Cgl\src\CglGomory;..\..\..\..\Cgl\src\CglPreProcess;..\..\..\..\Cgl\src\CglProbing;..\..\..\..\Cgl\src;..\..\..\..\Clp\src;..\..\..\..\Osi\src\OsiClp;..\..\..\..\CoinUtils\src;..\..\..\..\BuildTools\headers;..\..\..\..\Cbc\src" 44 PreprocessorDefinitions="WIN32;_ DEBUG;_CONSOLE;CBCCINTERFACEDLL_EXPORTS"44 PreprocessorDefinitions="WIN32;_NDEBUG;_CONSOLE;CBCCINTERFACEDLL_EXPORTS" 45 45 MinimalRebuild="true" 46 46 BasicRuntimeChecks="3" … … 64 64 <Tool 65 65 Name="VCLinkerTool" 66 AdditionalDependencies="cbcCInterfaceDll.lib" 66 67 LinkIncremental="2" 67 AdditionalLibraryDirectories=" "68 AdditionalLibraryDirectories="$(SolutionDir)cbcCInterfaceDll\Debug" 68 69 DelayLoadDLLs="" 69 70 GenerateDebugInformation="true" … … 122 123 <Tool 123 124 Name="VCCLCompilerTool" 125 Optimization="2" 124 126 AdditionalIncludeDirectories="..\..\..\..\Osi\src\OsiCbc;..\..\..\..\Osi\src;..\..\..\..\Cgl\src\CglTwomir;..\..\..\..\Cgl\src\CglMixedIntegerRounding;..\..\..\..\Cgl\src\CglMixedIntegerRounding2;..\..\..\..\Cgl\src\CglFlowCover;..\..\..\..\Cgl\src\CglClique;..\..\..\..\Cgl\src\CglOddHole;..\..\..\..\Cgl\src\CglKnapsackCover;..\..\..\..\Cgl\src\CglGomory;..\..\..\..\Cgl\src\CglPreProcess;..\..\..\..\Cgl\src\CglProbing;..\..\..\..\Cgl\src;..\..\..\..\Clp\src;..\..\..\..\Osi\src\OsiClp;..\..\..\..\CoinUtils\src;..\..\..\..\BuildTools\headers;..\..\..\..\Cbc\src" 125 127 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CBCCINTERFACEDLL_EXPORTS" … … 143 145 <Tool 144 146 Name="VCLinkerTool" 147 AdditionalDependencies="cbcCInterfaceDll.lib" 145 148 LinkIncremental="1" 146 AdditionalLibraryDirectories=" "149 AdditionalLibraryDirectories="$(SolutionDir)cbcCInterfaceDll\Release" 147 150 DelayLoadDLLs="" 148 151 GenerateDebugInformation="true" -
trunk/Cbc/examples/cbc_driverC_sos.c
r704 r713 70 70 // Keep names when reading an mps file 71 71 if (argc<2) 72 // 73 status=Cbc_readMps(model,"../../ Data/Sample/p0033.mps");72 // status=Cbc_readMps(model,"../../../../../Data/Sample/ltw.mps"); 73 status=Cbc_readMps(model,"../../../../../Data/Sample/p0033.mps"); 74 74 else 75 75 status=Cbc_readMps(model,argv[1]); -
trunk/Cbc/src/Cbc_C_Interface.cpp
r703 r713 155 155 int i; 156 156 int nDouble=numberDoubleFields(); 157 assert (nDouble<= 10);158 double vDouble[ 10];157 assert (nDouble<=20); 158 double vDouble[20]; 159 159 for (i=0;i<nDouble;i++) 160 160 vDouble[i]=doubleValue(i); 161 161 int nInt=numberIntFields(); 162 assert (nInt<= 10);163 int vInt[ 10];162 assert (nInt<=20); 163 int vInt[20]; 164 164 for (i=0;i<nInt;i++) 165 165 vInt[i]=intValue(i); 166 166 int nString=numberStringFields(); 167 assert (nString<= 10);168 char * vString[ 10];167 assert (nString<=20); 168 char * vString[20]; 169 169 for (i=0;i<nString;i++) { 170 170 std::string value = stringValue(i);
Note: See TracChangeset
for help on using the changeset viewer.