Vol 1.5.4
Loading...
Searching...
No Matches
lpc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2000, International Business Machines
3 Corporation and others. All Rights Reserved.
4 This code is licensed under the terms of the Eclipse Public License (EPL).
5
6 $Id$
7*/
8
9#ifndef __LPC_H__
10#define __LPC_H__
11
12#include <vector>
13#include "VolVolume.hpp"
14
15using std::vector;
16
17class VOL_lp {
18 public:
31 vector<int> mr;
32 vector<int> mc;
33 vector<double> els;
34 vector<double> cost;
37 void build_col(int row, double el);
38 void rhs(int row, double lb, double ub);
39 void finish_up();
40 int n_cols(){ return ncols; }
41 void set_nrows( const int n);
42 void intcol(int j);
43 void addobj( double xx);
44 void addel(int row, double el);
45 void startcol();
46 void ub(const int i, const double x);
47 void lb(const int i, const double x);
48 void init_bounds( const int n);
49};
50
51#endif
vector of doubles.
vector of ints.
Definition lpc.h:17
~VOL_lp()
Definition lpc.h:36
VOL_ivector mcstrt
Definition lpc.h:22
void rhs(int row, double lb, double ub)
void lb(const int i, const double x)
VOL_dvector dupc
Definition lpc.h:26
vector< double > els
Definition lpc.h:33
vector< double > cost
Definition lpc.h:34
void addel(int row, double el)
void finish_up()
VOL_dvector dels
Definition lpc.h:23
int maxcols
Definition lpc.h:20
VOL_ivector intnums
Definition lpc.h:29
VOL_ivector mrow
Definition lpc.h:21
void ub(const int i, const double x)
void startcol()
void addobj(double xx)
VOL_ivector check_col
Definition lpc.h:30
VOL_dvector dcost
Definition lpc.h:24
VOL_dvector dlor
Definition lpc.h:27
VOL_dvector dloc
Definition lpc.h:25
int n_cols()
Definition lpc.h:40
vector< int > mr
Definition lpc.h:31
VOL_dvector dupr
Definition lpc.h:28
void intcol(int j)
void set_nrows(const int n)
void build_col(int row, double el)
int nrows
Definition lpc.h:19
int ncols
Definition lpc.h:19
int nints
Definition lpc.h:20
void init_bounds(const int n)
int nels
Definition lpc.h:19
vector< int > mc
Definition lpc.h:32