Questions tagged [mpc]

MPC: multiprecision C library for arithmetic of complex numbers

Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr. The library is written by Andreas Enge, Philippe Théveny, Paul Zimmermann and Mickaël Gastineau and is distributed under the Gnu Lesser General Public License.

http://mpc.multiprecision.org/

MPC is not :

88 questions
2
votes
1 answer

Compiling gcc-4.8.1: "libmpc.so.2 cannot open shared object file download prerequisites"

Many people appear to have encountered this problem. The GNU website strongly recommends running ./contrib/download_prerequisites in the source directory to avoid problems with linking MPC, MPFR and GMP. The following link contains the…
MattG
  • 1,416
  • 2
  • 13
  • 31
2
votes
1 answer

Compiling MPC-0.8.1

Following the instructions posted here:http://stackoverflow.com/questions/9450394/how-to-install-gcc-from-scratch-with-gmp-mpfr-mpc-elf I installed GMP, MPFR, and ELF just fine, but while installing MPC with ./configure --disable-shared…
Steven Feldman
  • 833
  • 1
  • 15
  • 28
1
vote
1 answer

How to deploy a deep learning model into MPC as a constraint/equation?

I 'm working on solving MPC problem with GEKKO. My task is to develop a MPC controller generating indoor setpoint to saving power cost. At the same time, the indoor comfort level should be ensured. Currently, I have 2 svr models, one for house power…
Mackenzie
  • 13
  • 2
1
vote
1 answer

MPC multi-objective gekko - MEAS correction

I am trying to use gekko to solve a MPC problem. My task is to develop a MPC to control three diferents variables (CV1, CV2 and CV3). I have equations (models) to Control variables, although I created a Neural Network like a Virtual Online Anlyser…
1
vote
1 answer

MPC for a mecanum wheeled model using Drake

I'm new to MIT Drake, I was using CasADi (ipopt) for a mecanum wheeled model for MPC. In CasADi, I can create a symbolic variable for the optimization parameters (i.e., initial state and target state). Then use it to compute the error in state, how…
1
vote
0 answers

Getting Started with OpenDDS - Creating files that transfer data between devices

After reading the developer's guide listed on the OpenDDS website, I am still confused on how to set up my own project that allows the data types define to be transferred from the publisher to subscriber. The Messenger example provided in the…
rosiepati
  • 19
  • 4
1
vote
0 answers

Matlab's nonlinear mpc results in u0 control input for all time

I'm working with the nonlinear MPC toolbox of MATLAB and try to implement some straightforward controller. However, given an initial control signal uk, any control signal generated by nlmpcmove is the same as uk (saveStates is filled with whatever…
J.V.
  • 35
  • 8
1
vote
1 answer

MPC with python and Error ValueError: `f0` passed has more than 1 dimension

I wrote a MPC with Python and it worked before. After a long time I want to use it again but I got this Error f0 passed has more than 1 dimension. But I didn't change anything on my code. It is some kind of strange. Here is my code: import numpy…
Ali AlCapone
  • 121
  • 7
1
vote
0 answers

ICEStopConnectivityCheck() found no ICE check with call id

I have an App where users exchange data with IOS Multipeer Connectivity. I liked Peter Fennema's approach for this and used his tutorial as a starting point, but getting many errors logged after the second iPad accepts the invitation to connect.…
1
vote
2 answers

libtool: error: Failed to create '.libs'

I got this error while installing mpc-1.0.2 under ubuntu 16.04 First, I ran the following command(): sudo ./configure --prefix=/usr --docdir=/usr/share/doc/mpc-1.0.2 It didn't give any error. Then, I ran the make command, which gave the following…
saint_shark
  • 17
  • 1
  • 5
1
vote
0 answers

Getting Double Precision(MatrixXd) answers using Single Precision(MatrixXf) on Eigen C++

I have coded a model predictive controller on a pixhawk hardware to control the attitude (angles) of the quadcopter. I exchanged messages with one of the developers of pixhawk and he advised me to use single precision. My code is in double…
1
vote
1 answer

Swift 3, Multipeer, send struct as Data

I am struggling with a problem. I want to send a struct to connected devices. Here is the code I use copied into Playground In the code I added some extension to the Data class for coding/decoding. I create a Dictionary of [String:Player] and use…
teho
  • 61
  • 8
1
vote
1 answer

Python: AttributeError: 'mpc' (or 'mpf') object has no attribute 'arcsin'

I was trying to use Jacobi elliptical function from mpmath, but getting the error for the simple code given below: import numpy as np import scipy.integrate as spi from scipy import special as sp import matplotlib.pyplot as plt from math import…
deltasata
  • 377
  • 1
  • 4
  • 21
1
vote
1 answer

How do I get version of MPC, not MPD

Using Ubuntu 12.04 desktop, but using putty from Windows, so... CLI. When I type: mpc version it reports the version of the mpd daemon. How can I get the version of the mpc controller, not the daemon? Thanks. Mark. PS, how can I get the latest…
Cool Javelin
  • 776
  • 2
  • 10
  • 26
1
vote
1 answer

How to debug bootloader code running on RAM for powerPC

I'm developing a bootloader for the MPC5748G in C. The bootloader will be running on RAM so i want to know how can i debug the bootloader code running on the MPC Target. Thanks
jack leporteur
  • 118
  • 1
  • 10