Showing posts with label Mathematica. Show all posts
Showing posts with label Mathematica. Show all posts

The Goats, Wolves and Lions Puzzle and a Wolfram Language Program to Solve It Most Elegantly

The puzzle: Goats, Wolves and Lions

3 ways to solve it

Solving it in a functional programming style: Functional Goats, Wolves and Lions

in the Wolfram Language - with some principles avoiding hidden traps.

New Wolfram Pages - New Platforms - New Business Principles

Wolfram Research has redesigned an reorganized their web pages.

It is now even more emphasizing on packages motivated by usage and technologies, rather than technologies alone.

Pages that show new business principles

I see them through the lens of a developer and marketer. They are great. They describe perfectly the re-packaging of unprecedented technologies into new platforms (products) for solutions.

As developer we have taken big advantages of the enormous productive Wolfram Language and Wolfram Engine, extended it into the Universe of derivative and risk analytics - UnRisk Financial Language and UnRisk Engine (UnRisk-Q the programming power behind UnRisk).

About its benefits: A good financial language has, freedom, knowledge and brings documents to life.

Without this unparalleled productive platform, we were unable to do with less than two dozens of people what may need hundred people if utilizing any other.

When we decided to unleash this technology, we knew we will serve competitors of our UnRisk FACTORY solutions. This is the reason, why this is not a mistake.

Intel Edison and Wolfram Language

Today, Wolfram announced to bring Wolfram Language to the New Intel SD-Card-Sized Computer.

IMO, this is not just an announcement of a technology development step - it needs to be seen in a wider context - the future of contextual technologies (our extra senses).

The announcement coincides with the Wolfram Connected Devices Project announcement.

And this seems to me is two-sided: to model connected devices (networked in the internet of things) in Wolfram Language and decentralize computational knowledge represented in Wolfram Language and Mathematica to mobile devices.

All together integrated into a "computational knowledge cloud"?

It is amazing - 25 years ago I met Mathematica …. falsely categorized as computer algebra system.
Now I am bursting with ideas how to exploit this unique technology in integrated computational finance, process and manufacturing management, … (fields where I know the requirements quite well).

I have pointed out a few non technical thoughts here (before I read the announcements).

Something Very Big Is Coming - Wolfram CLOUD

In An Open Letter to Mathematica I have pointed out how and why Mathematica has monopolized my business. The language aspect was the key. This was 2012, and I wrote " … I look forward to your new radical innovations that will enable us to drive the innovation spiral even faster"

Here we are, in late 2013. The UnRisk Financial Language is a financial language atop Wolfram Language. Quants will create their own domain specific languages (say, a model validation language) atop the UnRisk language and so on. This is how it works: If You are a Quant Developer, You can build your Risk Management Platform Quickly.

2006 we have created the UnRiskverse - its algorithms, the pricing and calibration engines, extend Mathematica's into the world of complex derivatives, portfolios, scenarios, VaRs, expected shortfalls, CVA/DVA/FVAs, … They enable us to implement most of UnRisk in UnRisk. Each UnRisk language programmer has the full Mathematica available (all language constructs, algorithms, data …)

With the announcement Something Very Big is Coming, I see the innovation spiral accelerating. It is amazing. I am really excited. Dance With Symbols influenced my thinking from the very beginning - fortunately.

Even a program is a symbol. That makes the idea of symbolic programming. The algorithms are responsible for the operational semantics. Together it becomes a knowledge-based language,

I am really looking forward to Wolfram CLOUD.

A Mathematics Wednesday and Physics Friday in UnRisk Insight

For more theme orientation and a better rhythm, Andreas Binder and Michael Aichinger will post Wednesday and Friday. They will write with the eye of a mathematician / physicist.

Their posts will not be limited to advanced methods and schemes, but about various topics around quant finance. And not surprisingly, if models and methods are involved, they will be most probably be implemented and tested in Mathematica.

The first 2 posts can be found at UnRisk Insight Mathematics.

The Debt-to-GDP Cliff of 90% Does Not Exist

Mid Apr-13 I read about this here. And many quality media have discussed it ...

Not necessary to repeat that the results of the famous academic paper were often used and influenced important economic and political decisions ... Interesting that the mistakes were discovered by a student.

A few days ago, Michael Kelly, Wolfram Technology Group, published Is High Debt Bad for Economic Growth? in Wolfram Blog.

Michael showed that such errors are unlikely when using Mathematica's explicit functional programming style - stability and robustness tests are straight forward.

I totally agree and add that this is one of the reasons why we have decided to integrate our UnRisk derivatives analytics engines (numerically optimized in C++) into Mathematica.

The programming power behind UnRisk solutions is UnRisk-Q - its financial objects, functions and utilities are declarative, functional Mathematica language constructs. Cross-model tests and high level across-scenario tasks are so easy ...

Why is Mathematica not commonly used in economical circles? IMO, because it is not so obvious to see that economic data, models and methods need to be organized orthogonally.

Wolfram Community Has Been Launched

Wolfram announced the launch of Wolfram Community, a new site designed to unite Wolfram users. It is the go-to-place to discuss questions and issues relating to Mathematica and other  Wolfram products in a crowdsourced community setting.

Groups are organized across areas, products and functionality.

25 Years of Mathematica - Congratulations!

Wolfram Research celebrates 25 years of Mathematica - Stephen Wolfram: Celebrating Mathematica's First Quarter Century. Like always an enjoyable, insightful summary - a must read.

I just want to come back to a post that I wrote in reaction to Nassim Taleb's "Understanding is a poor substitute for convexity" - Research Productivity Without Mathematica - Is It Possible?

Taleb concludes from what he calls "Antifragile" that technologies, ideas and theories, opposed to physical things, age in reverse. The longer they live the longer they will stay.

I am not too sure. There are technologies that drive radical innovation that let themselves die .. ?

However, Mathematica has a lot of features for explorative, constructive learning, "labs" helping you to find breakthroughs and "factories" that do things automatically and reliable.

No, doubt it will drive its innovation spiral even faster.

I have joined the Mathematica community for 23 years now. I can even say, I have built my whole business atop Mathematica. The best business decision, I ever made.

I have a little recommendation: there are parters around that could co-create new possibilities ...

All the best for the Second Quarter Century.

Wolfram Finance Platform 2 Is Released

WFP 2 has been announced recently. One set of new capabilities that it introduces is a major enhancement to the way financial analysis is deployed: automated report generation.

This is another reason why WFP is a great platform for our new integrated package - the UnRisk FACTORY - Q Bundle. This bundle is built to enable risk management to post process the massive output the FACTORY calculates untiringly.

Automated reporting will perfectly complete the automated risk management workflow - analyzing risk while risk experts are sleeping and preparing the results for better and in-time decisions in the morning.

A Whole Zoo of Probability Distributions

This post in the Wolfram Blog describes work in progress enhance Mathematica 9's probability & statistics and to adding new knowledge to Wolfram|Alpha on a daily base.

It is amazing how fast Mathematica's knowledge base of special functions grew from the very beginning and how fast the knowledge of probability distributions grew from Mathematica 7 to 9 and that a growing number of properties ca be calculated. To calculate them will need to generate functions that are expressed by named mathematical functions - so everything is linked ....

But Wolfram|Alpha will go beyond. It wants to answer quantitative questions of any form - and consequently, thus includes probability distributions. And it is a goal to haven them completed and calculate a vast variety of properties.

To incorporate the complete list of probability distributions and properties into Wolfram|Alpha will happen in the near future. They will be represented for manipulation in an interactive Mathematica document called "The Ultimate Univariate Probability Distribution Explorer", proving again how powerful Mathematica's  document centered architecture in combination with its dynamic visualization is.

I again think of econometrics applications and econophysics approaches for better insight in, say quantitative finance and much more .....  

Mathematica - a Perfect Test Environment for OpenCL Code












By releasing UnRisk-Q we have unleashed the programming power behind all UnRisk solutions. It comes with a Mathematica front-end.

With our newUnRisk we will go far beyond this quant development environment. It will be
  • Multi Language
  • Platform Agnostic
  • Inherently Parallel
  • Cross Platform
A variety of applications in quant finance are computationally extremely demanding - if you for example introduce Montecarlo VaR or CVA/DVA you may need hundred of millions of single instrument valuations. newUnRisk will intelligently combine coarse and fine grain parallelization driving OpenCL over the Grid.

The concept is described here.

Our OpenCL code ist tested in Mathematica - the programs support of OpenCL (CUDA) makes Mathematica a highly efficient testing platform for algorithms and their execution on either a CPU or GPU.
In the picture above you see what Mathematica does for you - only the kernel code (in the picture CUDA but it is the same with OpenCL) remains your responsibility.

Wolfram Takes Mathematica 9 To All of Us

It just changed on the Wolfram Page - from 8 to 9.  And I am downloading it right now.
Mathematica 9 has so many new features from new computational areas to a new interface paradigm.
I can really feel the synergy between the Mathematica and Wolfram|Alpha developments.

For us developers and solution integrators Mathematica 9 brings a basket of statistics and probability gifts, enhancements of time series and SDEs, integration with R and much more helping us to enrich our developments and projects in econometrics, finance, ... and realize new ideas.

It will not happen in a day but we will not only make UnRisk and machine learning framework supporting Mathematica 9 swiftly, but exploit its new capabilities.

It is an amazing new release that will also excite image and signal processing experts, designers of dynamic user interfaces, social  network examiners ...

An Apology Letter to Mathematica

Dear Mathematica,

after so many years working with you, we are excited that you have released so many new features and shhh ... that even more exciting things will come. From the many new introductions in your version 8 we benefit from the new Software Development features most. They enable us to to make UnRisk and mlf platform agnostic, inherently parallel and consequently unprecedented economic (minimalist infrastructures, low prices and fast-time-to-productivity combine to low cost of ownership).
And we always benefit from your link technologies to extending your core algorithms (in C++, in the future replaced by OpenCL) and build services that tie things together (in Java, SQL ....).

And your declarative programming language that we have extended into the universes of quant finance and data mining empowers developers to hone their expertise without wasting time with implementation details.

We develop parts of UnRisk in UnRisk. Quant developers, their solutions atop it. The same with mlf.

You empower us to develop amazing solutions, UnRisk FACTORY the flagship product, and when we unleashed the programing power behind the FACTORY it was clear UnRisk-Q will come with your programming environment and webTools for webUnRisk.

Our hybrid programming became a kind of a whirlwind. The engines are blazingly fast and the development cycles unprecedented short.

I'll admit, before you, I was disappointed by other computational platforms and especially programming languages.

I am sorry but the time has come. You knew it from the beginning? You knew that, eventually, we will see other languages that validate our domain specific programming layer concept? For (quant) developers, who are used to work with them for years? You knew that your revolutionary principles and concepts would provide the insight? Your own multi-language concepts a metaphor?

Obviously, our solutions will continuously use you as the platform - UnRisk FACTORY, VaR Universe and  other Add-Ons, as well as mlf solutions. It drives important differential advantages and key success factors that we don't want to give away.

But developing atop UnRisk and mlf will become multi-language - the domain-specific programming layer will be represented in other languages too.
Our engines provide so many amazing features and differential advantages. To gain the possible market share, we need to stretch and expand developer segments quickly - overcoming the eager-seller-stony-buyer barrier.

Best regards,

Big Systems for the Small

I do not want to go that far and see the New Industrial Revolution, with start-up factories of combining low cost CAE/CAD/CAM systems, 3D scanning, 3D printing, laser cutting and CNC machining enabling entrepreneurs  to beat industrial giants. Although, I recommend reading Makers, Chris Anderson.

But there are a lot of small specialized engineering, manufacturing engineering, process engineering and automation firms around, creating systems that help small and medium sized manufacturers to make great products.

And it is the same old story: their methodology and technology requirements are not simpler than that of the industry giants. Their volumes, are smaller, their revenues, their market shares and consequently financial abilities.

Recently I had the chance to do a little hands-on trial with Wolfram SystemModeler. And it immediately came to my mind: this in combination with Mathematica is a perfect environment to create the big systems for the small by the small-and-specialized. Although the Customer Stories suggest it is used by the giants only.

Ironically enough, the system makes themselves are not always open to manufacturing-style system making. But is worth to propagate and promote: Wolfram SystemModeler is also for the small specialized designers, product and manufacturing engineers and automators.

The first thing I will do: organize a SystemModeler seminar inviting (also) this target group. With Jan Brugard, CEO of Wolfram MathCore, makers of  SystemModeler as key speaker. I keep you informed.

An Open Letter to Mathematica

About 23 Years ago I met you first. At a time when all other systems, that I called computer mathematics software, populated the computers of our team at the Research Institute for Symbolic Computation. You remember the time when the community needed to understand what symbolic computation really is - not just Computer Algebra? You and Axiom, Macsyma, Maple, Derive, Reduce, .... entered into the market with different approaches, architectures and implementation languages, but the same objective: doing mathematics on computers and influencing programming by mathematical concepts.

One of the outcomes of computational mathematics thinking is the distinction between the language of mathematics and its operational semantics. This is what we have learned and improved from project to project.

At the beginning, you did not look like a platform, but I saw, you were one already. And this was maybe the major reason that you after a few explorative projects, testing all market-relevant systems, "monopolized" my business. My usp works on products and services which have innovation and Mathematica in common. And we are hybrid Mathematica programmers - your link technologies empowers us to optimize in C++, Java, SQL, ... what can be optimized there, but you have the control.

Reinventing development you enabled us, a comparatively small outfit, to create industry scale systems.  You revolutionized our workflow, helped us to build a bank of innovation, remove development obstacles and close the customer feed-back loop, link the tools and systems required and keep us independent from usual roles.

We own the machine learning framework and are partners in the UnRisk consortium. Both doing the number crunching in C++ and providing domain-specic programming in your declarative language.
You always strived for  combining idealism and realism in programming. And with version 8 you sure got it near to perfection.

Our hybrid programming became a kind of a whirlwind. The engines are blazingly fast and the development cycles unprecedented short. In UnRisk we support the new heterogeneous computing muscles, driving CUDA over the grid, but the engines are programmatically manipulated by your high-level language. We develop parts of UnRisk in UnRisk.

Here we are, in 2012. We have learned so much from your revolutionary concepts that we are reinventing UnRisk now. UnRisk went already cross platform, but to utilize the new heterogeneous computing muscles, platform agnostic, we are re-implementing the engines in OpenCL. And it might sound a little unfair to you: our domain-specific programming layer will be represented in other languages too. UnRisk will go multi language.

I know, your developers burst with ideas and I look forward to your new radical innovations that will enable us to drive the innovative spiral even faster.

Best regards,

Herbert

Model and Simulate Discrete Manufacturing Systems

In previous posts, I have mentioned that I was responsible for factory automation software in Austria's largest industry group in the 80ies. We developed off-line programming systems for multi-axes and mixed-purpose CNC machines as well as robots, systems for production and operation management, the input and output systems, storage, ... and what have you in an automated factory.

The management execution system has many difficult tasks. One is to finding a goal-oriented optimal point between machine utilization, work-in-process and time-in-process.

I'd loved to have Wolfram SystemsModeler available at that time. To get insight into the behavior of your complex factory modeling and simulation is the key. And I am sure discrete manufacturing can benefit from its application, from the control of the machines to the optimization of their interplay.

Wolfram SystemModeler Announced

Recently, Wolfram SystemModeler has been announced. The best I can do: let Stephen Wolfram speak - announcement at Wolfram Blog.

To us working with Mathematica and partnering with Wolfram for 22 years now, it is a big step further enabling us to building industry scale solutions for special sectors in process, manufacturing and other industries and helping industries to establish Mathematica as strategic product supporting their technical and scientific computing work-flows.

What we find so exciting about SystemModeler: it is a very general platform and it has the 2 layers we find so innovative (extending the Open Source Modelica language dramatically).
An engine that calculates results from computable representations of built-in symbolic-numeric methods - all programmatically manipulated from a symbolic system description. A stable and flexible underlying for, say, visual system component configuration and modeling, event handling, analysis and simulation.
A domain specific language with visual programming capabilities that's operational semantics is an industry-proof wide-purpose engine.

The Wolfram Finance Platform

The Wolfram Finance Platform has been announced recently.

For us UnRiskers, supporting all Mathematica license types from single machine to grid- and web-licenses, it is especially the HPC license packages and the Bloomberg market data feed that makes it a very attractive platform.

Especially for those UnRisk customers that want to build power quant and model validation desks at one end and enterprise-wide risk management at the other. Both usually requiring millions of single valuations based on models calibrated and re-calibrated to actual market behavior in "real" time.

Wolfram|Alpha Pro

is launched. A big step into possible individualizations.

What it will do.

It supports direct data, image, and file input - allowing to apply computational power to virtual any personal or public datasets and much more.

Wolfram Education Portal

It is here. Wolfram Education Portal.
Nothing to add from my side, you know that I am excited about explorative, constructive learning and the fusion of mathematics and programming.

An interesting radical view: 100 reasons to run from lectures - identifying lectures as one of the 10 popular idols killing innovation.