Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 12
Member Avatar for cannon_1

I have a code that can be compiled fine on the server but not on my mac machines. The following code is designed to split the reading text according to the string delimiter. But when trying to compile this on my mac, I have issues. void split_is(const std::string &s, string …

Member Avatar for rubberman
0
802
Member Avatar for cannon_1

hi i have a unknown string in c++ containing "\n" "\t" etc. say; string unknown1="\n\t\n\t\n\n\n\n\n"; now I want to print "\n\t\n\t\n\n\n\n\n" to the screen explcitly other than a bunch of empty spaces.... how should I do that? remember that I don't know what is in unknown1...

Member Avatar for tinstaafl
0
481
Member Avatar for cannon_1

This is the lines used to compile a c++ programme. g++ xp_example2.cpp api/gdxco.cpp ../C/api/gdxcc.c api/optco.cpp ../C/api/optcc.c api/gamsxco.cpp ../C/api/gamsxcc.c -Iapi -I../C/api However, when I use IDE Xcode, I don't know what to change so that I arrive at the exact same thing. For example, How shall I edit my Xcode to …

Member Avatar for iamthwee
0
270
Member Avatar for cannon_1

Due to project limitation, I want to use SCIP/LindoAPI (especially its NLP or MINLP feature) in Xcode C++ environment. However, I did not find a step by step documentation and I am almost a complete noob in all the compiling details... Could anyone help me? Thank you very much.

0
73
Member Avatar for cannon_1

Basically, I failed to trying to implement individual global MINLP solvers (alphaBB, ANTIGONE, BARON, Couenne, LindoAPI, and SCIP) in C++/Xcode/Mac system. On the other hand, I realize that GAMS already integrate a lot of solvers. So I am thinking of using C++/Xcode/Mac system to construct models and let GAMS solve …

0
77
Member Avatar for cannon_1

Currently, I have a c++ program to call an external program, wait for it to finish, and return the string that was supposed to print on the screen by the external program; string result_now=exec("./CCLS_to_akmaxsat "+softer_filename); std::string exec(std::string command) { //cout << "\n\nEvaluating command: " << command << "\n\n" << endl; …

Member Avatar for tinstaafl
0
329
Member Avatar for cannon_1

I am mostly following this post to install OBOE in MAC OS 10.9: https://projects.coin-or.org/OBOE/wiki/MacosxOboe However, in step 4: I tried to install LAPACK++ with failure [from this source][1]: I type `./configure` configure: error: Blas/Lapack was not found. *** This means Lapack++ and matrix support cannot be compiled. *** This makes …

Member Avatar for rubberman
0
226
Member Avatar for cannon_1

After installing Lapack and Blas, I tried to install lapack++ with failure from http://switch.dl.sourceforge.net/sourceforge/lapackpp/lapackpp-2.5.2.tar.gz I type `./configure` configure: error: Blas/Lapack was not found. *** This means Lapack++ and matrix support cannot be compiled. *** This makes this library unusable. Please get blas and lapack *** installed. If you do have …

Member Avatar for cannon_1
0
640
Member Avatar for cannon_1

Unlike linear programming, which has rather friendly software like gurobi or c++ that seamlessly incorporate into c++ system. For the problem class of Max-Sat, I have been searching for such a software without success. Does anyone know of some such software? Thank you:)

0
86
Member Avatar for cannon_1

I am using Xcode to do c++ programming and I have a c++ code, with different input arguments. I want to achieve that in Xcode, I could run multiple simultaneous running of my c++ code. However, the current problem is that once one code finishes, its terminal window automatically closed …

0
83
Member Avatar for cannon_1

I want to implement an algorithm in c++ using two concurrent infinite loop: the first infinite loop produces the upper bound on each iteration and the other infinite loop produces lower bound on each iteration. Both loops would terminate only when the the upper bound and lower bound meets. What's …

Member Avatar for cannon_1
0
266
Member Avatar for cannon_1

I have built Boost from the website using ./bootstrap.sh ./b2 install [IMG]http://i.stack.imgur.com/VDrHd.jpg[/IMG] [IMG]http://i.stack.imgur.com/ZaBfk.jpg[/IMG] I think all are installed properly. I am trying to use Xcode to include the library of boost:thread.My code links to the header file properly with " #include "boost/thread.hpp"" commented, as seen from the following: [IMG]http://i.stack.imgur.com/XW1qE.jpg[/IMG] However, …

Member Avatar for mike_2000_17
0
353