MPSolve 3.2.2
Loading...
Searching...
No Matches
input-output.h
Go to the documentation of this file.
1/*
2 * This file is part of MPSolve 3.2.2
3 *
4 * Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa.
5 * License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher
6 *
7 * Authors:
8 * Leonardo Robol <leonardo.robol@unipi.it>
9 */
10
15
16#ifndef MPS_INPUT_OUTPUT_H_
17#define MPS_INPUT_OUTPUT_H_
18
19MPS_BEGIN_DECLS
20
21void mps_readroots (mps_context * s);
22void mps_countroots (mps_context * s);
23void mps_outroot (mps_context * s, int i, int num);
24void mps_output (mps_context * s);
25void mps_copy_roots (mps_context * s);
26void mps_dump_status (mps_context * s, FILE * outstr);
27void mps_dump (mps_context * s);
28void mps_dump_cluster_structure (mps_context * s, FILE * outstr);
29mps_boolean mps_is_a_tty (FILE * stream);
30void mps_warn (mps_context * st, char *format, ...);
31void mps_error (mps_context * st, const char * format, ...);
32void mps_print_errors (mps_context * s);
33
34void mps_skip_comments (FILE * input_stream);
35void mps_raise_parsing_error (mps_context * s, mps_input_buffer * buffer,
36 const char * token,
37 const char * message, ...);
38mps_input_option mps_parse_option_line (mps_context * s, char *line, size_t length);
39
40mps_polynomial * mps_monomial_poly_read_from_stream_v2 (mps_context * s, mps_input_buffer * buffer);
41
42mps_polynomial * mps_monomial_yacc_parser (mps_context * ctx, mps_abstract_input_stream * stream);
43
44
45MPS_END_DECLS
46
47#endif /* MPS_INPUT_OUTPUT_H_ */
48
struct mps_abstract_input_stream mps_abstract_input_stream
C wrapper around AbstractInputStream.
Definition abstract-input-stream.h:32
this struct holds the state of the mps computation
Definition context.h:60
Buffer used to parse input files in MPSolve. It can read a stream line by line.
Definition input-buffer.h:33
This struct holds a key and the value associated with it. It's used for options that require a value ...
Definition options.h:110
Struct that represents an abstract polynomial. All the other real polynomial implementations (such as...
Definition polynomial.h:111