aboutsummaryrefslogtreecommitdiffstats
path: root/native/include/linprog/io.h
blob: e956671bc229f0716157eedd06af4a541a77ed3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef LINPROG_IO_H
#define LINPROG_IO_H

#include <ostream>

#include "linprog/model.h"
#include "linprog/solver.h"
#include "lp_common.h"

std::ostream& operator<<(std::ostream &os, const LinearExpression &exp);

std::ostream& operator<<(std::ostream &os, const LinearProgram &lp);

void dump_lp_solution(
	VarMapper& vars,
	const ResourceSharingInfo& info,
	const TaskInfo& ti,
	const Solution& solution,
	std::ostream& out,
	bool show_zeros = false);

#endif