Ignore:
Timestamp:
Feb 23, 2014 3:43:03 PM (5 years ago)
Author:
mlubin
Message:

Include CInterfaceTest in build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/test/CInterfaceTest.c

    r2009 r2010  
    1 // $Id$
    2 // Copyright (C) 2014, International Business Machines
    3 // Corporation and others.  All Rights Reserved.
    4 // This code is licensed under the terms of the Eclipse Public License (EPL).
     1/* $Id$ */
     2/* Copyright (C) 2014, International Business Machines
     3  Corporation and others.  All Rights Reserved.
     4   This code is licensed under the terms of the Eclipse Public License (EPL). */
    55
    6 #include <coin/Cbc_C_Interface.h>
     6#include "Cbc_C_Interface.h"
    77#include <assert.h>
    88#include <math.h>
     
    1313    Cbc_Model *model = Cbc_newModel();
    1414
    15     // Simple knapsack problem
    16     // Minimize -5x[1] - 3x[2] - 2x[3] - 7x[4] - 4x[5]
    17     // s.t.      2x[1] + 8x[2] + 4x[3] + 2x[4] + 5x[5] <= 10
    18     // All x binary
     15    /* Simple knapsack problem
     16       Minimize -5x[1] - 3x[2] - 2x[3] - 7x[4] - 4x[5]
     17       s.t.      2x[1] + 8x[2] + 4x[3] + 2x[4] + 5x[5] <= 10
     18       All x binary
     19       */
    1920   
    2021    CoinBigIndex start[] = {0, 1, 2, 3, 4, 5, 6};
Note: See TracChangeset for help on using the changeset viewer.